{
    "content": [
        {
            "type": "text",
            "text": "# _weakrefset (pydoc)\n\n**Summary:** weakrefset\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **MODULE REFERENCE** (8 lines)\n- **DESCRIPTION** (4 lines)\n- **CLASSES** (3 lines) — 1 subsections\n  - class WeakSet (104 lines)\n- **DATA** (2 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\nweakrefset\n\n### MODULE REFERENCE\n\nhttps://docs.python.org/3.10/library/weakrefset.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n\n### DESCRIPTION\n\n# Access WeakSet through the weakref module.\n# This code is separated-out because it is needed\n# by abc.py to load everything else at startup.\n\n### CLASSES\n\nbuiltins.object\nWeakSet\n\n#### class WeakSet\n\n|  WeakSet(data=None)\n|\n|  Methods defined here:\n|\n|  and = intersection(self, other)\n|\n|  contains(self, item)\n|\n|  eq(self, other)\n|      Return self==value.\n|\n|  ge = issuperset(self, other)\n|\n|  gt(self, other)\n|      Return self>value.\n|\n|  iand(self, other)\n|\n|  init(self, data=None)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  ior(self, other)\n|\n|  isub(self, other)\n|\n|  iter(self)\n|\n|  ixor(self, other)\n|\n|  le = issubset(self, other)\n|\n|  len(self)\n|\n|  lt(self, other)\n|      Return self<value.\n|\n|  or = union(self, other)\n|\n|  reduce(self)\n|      Helper for pickle.\n|\n|  repr(self)\n|      Return repr(self).\n|\n|  sub = difference(self, other)\n|\n|  xor = symmetricdifference(self, other)\n|\n|  add(self, item)\n|\n|  clear(self)\n|\n|  copy(self)\n|\n|  difference(self, other)\n|\n|  differenceupdate(self, other)\n|\n|  discard(self, item)\n|\n|  intersection(self, other)\n|\n|  intersectionupdate(self, other)\n|\n|  isdisjoint(self, other)\n|\n|  issubset(self, other)\n|\n|  issuperset(self, other)\n|\n|  pop(self)\n|\n|  remove(self, item)\n|\n|  symmetricdifference(self, other)\n|\n|  symmetricdifferenceupdate(self, other)\n|\n|  union(self, other)\n|\n|  update(self, other)\n|\n|  ----------------------------------------------------------------------\n|  Class methods defined here:\n|\n|  classgetitem = GenericAlias(...) from builtins.type\n|      Represent a PEP 585 generic type\n|\n|      E.g. for t = list[int], t.origin is list and t.args is (int,).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  hash = None\n\n### DATA\n\nall = ['WeakSet']\n\n### FILE\n\n/usr/lib/python3.10/weakrefset.py\n\n"
        }
    ],
    "structuredContent": {
        "command": "_weakrefset",
        "section": "",
        "mode": "pydoc",
        "summary": "weakrefset",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MODULE REFERENCE",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "CLASSES",
                "lines": 3,
                "subsections": [
                    {
                        "name": "class WeakSet",
                        "lines": 104
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}