{
    "mode": "pydoc",
    "parameter": "types",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/types/json",
    "generated": "2026-06-02T17:53:13Z",
    "sections": {
        "NAME": {
            "content": "types - Define names for built-in types that aren't directly accessible as a builtin.\n",
            "subsections": []
        },
        "MODULE REFERENCE": {
            "content": "https://docs.python.org/3.10/library/types.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",
            "subsections": []
        },
        "CLASSES": {
            "content": "builtins.object\nbuiltins.NoneType\nbuiltins.NotImplementedType\nbuiltins.asyncgenerator\nbuiltins.builtinfunctionormethod\nbuiltins.cell\nbuiltins.classmethoddescriptor\nbuiltins.code\nbuiltins.coroutine\nbuiltins.ellipsis\nbuiltins.frame\nbuiltins.function\nbuiltins.generator\nbuiltins.getsetdescriptor\nbuiltins.mappingproxy\nbuiltins.memberdescriptor\nbuiltins.method\nbuiltins.method-wrapper\nbuiltins.methoddescriptor\nbuiltins.module\nbuiltins.traceback\nbuiltins.wrapperdescriptor\nDynamicClassAttribute\nGenericAlias\nSimpleNamespace\nUnionType\n\nAsyncGeneratorType = class asyncgenerator(object)\n|  Methods defined here:\n|\n|  aiter(self, /)\n|      Return an awaitable, that resolves in asynchronous iterator.\n|\n|  anext(self, /)\n|      Return a value or raise StopAsyncIteration.\n|\n|  del(...)\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  aclose(...)\n|      aclose() -> raise GeneratorExit inside generator.\n|\n|  asend(...)\n|      asend(v) -> send 'v' in generator.\n|\n|  athrow(...)\n|      athrow(typ[,val[,tb]]) -> raise exception in generator.\n|\n|  ----------------------------------------------------------------------\n|  Class methods defined here:\n|\n|  classgetitem(...) from builtins.type\n|      See PEP 585\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  agawait\n|      object being awaited on, or None\n|\n|  agcode\n|\n|  agframe\n|\n|  agrunning\n\nBuiltinFunctionType = class builtinfunctionormethod(object)\n|  Built-in subclasses:\n|      builtinmethod\n|\n|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  eq(self, value, /)\n|      Return self==value.\n|\n|  ge(self, value, /)\n|      Return self>=value.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  gt(self, value, /)\n|      Return self>value.\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  le(self, value, /)\n|      Return self<=value.\n|\n|  lt(self, value, /)\n|      Return self<value.\n|\n|  ne(self, value, /)\n|      Return self!=value.\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  self\n|\n|  textsignature\n\nBuiltinMethodType = class builtinfunctionormethod(object)\n|  Built-in subclasses:\n|      builtinmethod\n|\n|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  eq(self, value, /)\n|      Return self==value.\n|\n|  ge(self, value, /)\n|      Return self>=value.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  gt(self, value, /)\n|      Return self>value.\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  le(self, value, /)\n|      Return self<=value.\n|\n|  lt(self, value, /)\n|      Return self<value.\n|\n|  ne(self, value, /)\n|      Return self!=value.\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  self\n|\n|  textsignature\n\nCellType = class cell(object)\n|  Create a new cell object.\n|\n|   contents\n|     the contents of the cell. If not specified, the cell will be empty,\n|     and\n|  further attempts to access its cellcontents attribute will\n|     raise a ValueError.\n|\n|  Methods defined here:\n|\n|  eq(self, value, /)\n|      Return self==value.\n|\n|  ge(self, value, /)\n|      Return self>=value.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  gt(self, value, /)\n|      Return self>value.\n|\n|  le(self, value, /)\n|      Return self<=value.\n|\n|  lt(self, value, /)\n|      Return self<value.\n|\n|  ne(self, value, /)\n|      Return self!=value.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  cellcontents\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  hash = None\n\nClassMethodDescriptorType = class classmethoddescriptor(object)\n|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  get(self, instance, owner=None, /)\n|      Return an attribute of instance, which is of type owner.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  objclass\n|\n|  textsignature\n\nCodeType = class code(object)\n|  CodeType(argcount, posonlyargcount, kwonlyargcount, nlocals, stacksize, flags, codestring, constants, names, varnames, filename, name, firstlineno, linetable, freevars=(), cellvars=(), /)\n|\n|  Create a code object.  Not for the faint of heart.\n|\n|  Methods defined here:\n|\n|  eq(self, value, /)\n|      Return self==value.\n|\n|  ge(self, value, /)\n|      Return self>=value.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  gt(self, value, /)\n|      Return self>value.\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  le(self, value, /)\n|      Return self<=value.\n|\n|  lt(self, value, /)\n|      Return self<value.\n|\n|  ne(self, value, /)\n|      Return self!=value.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  sizeof(...)\n|      Size of object in memory, in bytes.\n|\n|  colines(...)\n|\n|  replace(self, /, *, coargcount=-1, coposonlyargcount=-1, cokwonlyargcount=-1, conlocals=-1, costacksize=-1, coflags=-1, cofirstlineno=-1, cocode=None, coconsts=None, conames=None, covarnames=None, cofreevars=None, cocellvars=None, cofilename=None, coname=None, colinetable=None)\n|      Return a copy of the code object with new values for the specified fields.\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  coargcount\n|\n|  cocellvars\n|\n|  cocode\n|\n|  coconsts\n|\n|  cofilename\n|\n|  cofirstlineno\n|\n|  coflags\n|\n|  cofreevars\n|\n|  cokwonlyargcount\n|\n|  colinetable\n|\n|  colnotab\n|\n|  coname\n|\n|  conames\n|\n|  conlocals\n|\n|  coposonlyargcount\n|\n|  costacksize\n|\n|  covarnames\n\nCoroutineType = class coroutine(object)\n|  Methods defined here:\n|\n|  await(self, /)\n|      Return an iterator to be used in await expression.\n|\n|  del(...)\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  close(...)\n|      close() -> raise GeneratorExit inside coroutine.\n|\n|  send(...)\n|      send(arg) -> send 'arg' into coroutine,\n|      return next iterated value or raise StopIteration.\n|\n|  throw(...)\n|      throw(value)\n|      throw(type[,value[,traceback]])\n|\n|      Raise exception in coroutine, return next iterated value or raise\n|      StopIteration.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  crawait\n|      object being awaited on, or None\n|\n|  crcode\n|\n|  crframe\n|\n|  crorigin\n|\n|  crrunning\n",
            "subsections": [
                {
                    "name": "class DynamicClassAttribute",
                    "content": "|  DynamicClassAttribute(fget=None, fset=None, fdel=None, doc=None)\n|\n|  Route attribute access on a class to getattr.\n|\n|  This is a descriptor, used to define attributes that act differently when\n|  accessed through an instance and through a class.  Instance access remains\n|  normal, but access to an attribute through a class will be routed to the\n|  class's getattr method; this is done by raising AttributeError.\n|\n|  This allows one to have properties active on an instance, and have virtual\n|  attributes on the class with the same name.  (Enum used this between Python\n|  versions 3.4 - 3.9 .)\n|\n|  Subclass from this to use a different method of accessing virtual atributes\n|  and still be treated properly by the inspect module. (Enum uses this since\n|  Python 3.10 .)\n|\n|  Methods defined here:\n|\n|  delete(self, instance)\n|\n|  get(self, instance, ownerclass=None)\n|\n|  init(self, fget=None, fset=None, fdel=None, doc=None)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  set(self, instance, value)\n|\n|  deleter(self, fdel)\n|\n|  getter(self, fget)\n|\n|  setter(self, fset)\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\nEllipsisType = class ellipsis(object)\n|  Methods defined here:\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n\nFrameType = class frame(object)\n|  Methods defined here:\n|\n|  delattr(self, name, /)\n|      Implement delattr(self, name).\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  setattr(self, name, value, /)\n|      Implement setattr(self, name, value).\n|\n|  sizeof(...)\n|      F.sizeof() -> size of F in memory, in bytes\n|\n|  clear(...)\n|      F.clear(): clear most references held by the frame\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  fback\n|\n|  fbuiltins\n|\n|  fcode\n|\n|  fglobals\n|\n|  flasti\n|\n|  flineno\n|\n|  flocals\n|\n|  ftrace\n|\n|  ftracelines\n|\n|  ftraceopcodes\n\nFunctionType = class function(object)\n|  FunctionType(code, globals, name=None, argdefs=None, closure=None)\n|\n|  Create a function object.\n|\n|  code\n|    a code object\n|  globals\n|    the globals dictionary\n|  name\n|    a string that overrides the name from the code object\n|  argdefs\n|    a tuple that specifies the default argument values\n|  closure\n|    a tuple that supplies the bindings for free variables\n|\n|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  get(self, instance, owner=None, /)\n|      Return an attribute of instance, which is of type owner.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  annotations\n|\n|  closure\n|\n|  code\n|\n|  defaults\n|\n|  dict\n|\n|  globals\n|\n|  kwdefaults\n\nGeneratorType = class generator(object)\n|  Methods defined here:\n|\n|  del(...)\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  iter(self, /)\n|      Implement iter(self).\n|\n|  next(self, /)\n|      Implement next(self).\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  close(...)\n|      close() -> raise GeneratorExit inside generator.\n|\n|  send(...)\n|      send(arg) -> send 'arg' into generator,\n|      return next yielded value or raise StopIteration.\n|\n|  throw(...)\n|      throw(value)\n|      throw(type[,value[,tb]])\n|\n|      Raise exception in generator, return next yielded value or raise\n|      StopIteration.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  gicode\n|\n|  giframe\n|\n|  girunning\n|\n|  giyieldfrom\n|      object being iterated by yield from, or None\n"
                },
                {
                    "name": "class GenericAlias",
                    "content": "|  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|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  dir(...)\n|      Default dir() implementation.\n|\n|  eq(self, value, /)\n|      Return self==value.\n|\n|  ge(self, value, /)\n|      Return self>=value.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  getitem(self, key, /)\n|      Return self[key].\n|\n|  gt(self, value, /)\n|      Return self>value.\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  instancecheck(...)\n|      Check if an object is an instance.\n|\n|  le(self, value, /)\n|      Return self<=value.\n|\n|  lt(self, value, /)\n|      Return self<value.\n|\n|  mroentries(...)\n|\n|  ne(self, value, /)\n|      Return self!=value.\n|\n|  or(self, value, /)\n|      Return self|value.\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ror(self, value, /)\n|      Return value|self.\n|\n|  subclasscheck(...)\n|      Check if a class is a subclass.\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  args\n|\n|  origin\n|\n|  parameters\n|      Type variables in the GenericAlias.\n\nGetSetDescriptorType = class getsetdescriptor(object)\n|  Methods defined here:\n|\n|  delete(self, instance, /)\n|      Delete an attribute of instance.\n|\n|  get(self, instance, owner=None, /)\n|      Return an attribute of instance, which is of type owner.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  set(self, instance, value, /)\n|      Set an attribute of instance to value.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  objclass\n\nLambdaType = class function(object)\n|  LambdaType(code, globals, name=None, argdefs=None, closure=None)\n|\n|  Create a function object.\n|\n|  code\n|    a code object\n|  globals\n|    the globals dictionary\n|  name\n|    a string that overrides the name from the code object\n|  argdefs\n|    a tuple that specifies the default argument values\n|  closure\n|    a tuple that supplies the bindings for free variables\n|\n|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  get(self, instance, owner=None, /)\n|      Return an attribute of instance, which is of type owner.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  annotations\n|\n|  closure\n|\n|  code\n|\n|  defaults\n|\n|  dict\n|\n|  globals\n|\n|  kwdefaults\n\nMappingProxyType = class mappingproxy(object)\n|  Methods defined here:\n|\n|  contains(self, key, /)\n|      Return key in self.\n|\n|  eq(self, value, /)\n|      Return self==value.\n|\n|  ge(self, value, /)\n|      Return self>=value.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  getitem(self, key, /)\n|      Return self[key].\n|\n|  gt(self, value, /)\n|      Return self>value.\n|\n|  ior(self, value, /)\n|      Return self|=value.\n|\n|  iter(self, /)\n|      Implement iter(self).\n|\n|  le(self, value, /)\n|      Return self<=value.\n|\n|  len(self, /)\n|      Return len(self).\n|\n|  lt(self, value, /)\n|      Return self<value.\n|\n|  ne(self, value, /)\n|      Return self!=value.\n|\n|  or(self, value, /)\n|      Return self|value.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  reversed(...)\n|      D.reversed() -> reverse iterator\n|\n|  ror(self, value, /)\n|      Return value|self.\n|\n|  str(self, /)\n|      Return str(self).\n|\n|  copy(...)\n|      D.copy() -> a shallow copy of D\n|\n|  get(...)\n|      D.get(k[,d]) -> D[k] if k in D, else d.  d defaults to None.\n|\n|  items(...)\n|      D.items() -> a set-like object providing a view on D's items\n|\n|  keys(...)\n|      D.keys() -> a set-like object providing a view on D's keys\n|\n|  values(...)\n|      D.values() -> an object providing a view on D's values\n|\n|  ----------------------------------------------------------------------\n|  Class methods defined here:\n|\n|  classgetitem(...) from builtins.type\n|      See PEP 585\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  hash = None\n\nMemberDescriptorType = class memberdescriptor(object)\n|  Methods defined here:\n|\n|  delete(self, instance, /)\n|      Delete an attribute of instance.\n|\n|  get(self, instance, owner=None, /)\n|      Return an attribute of instance, which is of type owner.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  set(self, instance, value, /)\n|      Set an attribute of instance to value.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  objclass\n\nMethodDescriptorType = class methoddescriptor(object)\n|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  get(self, instance, owner=None, /)\n|      Return an attribute of instance, which is of type owner.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  objclass\n|\n|  textsignature\n\nMethodType = class method(object)\n|  method(function, instance)\n|\n|  Create a bound instance method object.\n|\n|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  delattr(self, name, /)\n|      Implement delattr(self, name).\n|\n|  eq(self, value, /)\n|      Return self==value.\n|\n|  ge(self, value, /)\n|      Return self>=value.\n|\n|  get(self, instance, owner=None, /)\n|      Return an attribute of instance, which is of type owner.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  gt(self, value, /)\n|      Return self>value.\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  le(self, value, /)\n|      Return self<=value.\n|\n|  lt(self, value, /)\n|      Return self<value.\n|\n|  ne(self, value, /)\n|      Return self!=value.\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  setattr(self, name, value, /)\n|      Implement setattr(self, name, value).\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  func\n|      the function (or other callable) implementing a method\n|\n|  self\n|      the instance to which a method is bound\n\nMethodWrapperType = class method-wrapper(object)\n|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  eq(self, value, /)\n|      Return self==value.\n|\n|  ge(self, value, /)\n|      Return self>=value.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  gt(self, value, /)\n|      Return self>value.\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  le(self, value, /)\n|      Return self<=value.\n|\n|  lt(self, value, /)\n|      Return self<value.\n|\n|  ne(self, value, /)\n|      Return self!=value.\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  objclass\n|\n|  self\n|\n|  textsignature\n\nModuleType = class module(object)\n|  ModuleType(name, doc=None)\n|\n|  Create a module object.\n|\n|  The name must be a string; the optional doc argument can have any type.\n|\n|  Methods defined here:\n|\n|  delattr(self, name, /)\n|      Implement delattr(self, name).\n|\n|  dir(...)\n|      dir() -> list\n|      specialized dir() implementation\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  setattr(self, name, value, /)\n|      Implement setattr(self, name, value).\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  annotations\n|\n|  dict\n"
                },
                {
                    "name": "class NoneType",
                    "content": "|  Methods defined here:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n"
                },
                {
                    "name": "class NotImplementedType",
                    "content": "|  Methods defined here:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n"
                },
                {
                    "name": "class SimpleNamespace",
                    "content": "|  A simple attribute-based namespace.\n|\n|  SimpleNamespace(kwargs)\n|\n|  Methods defined here:\n|\n|  delattr(self, name, /)\n|      Implement delattr(self, name).\n|\n|  eq(self, value, /)\n|      Return self==value.\n|\n|  ge(self, value, /)\n|      Return self>=value.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  gt(self, value, /)\n|      Return self>value.\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  le(self, value, /)\n|      Return self<=value.\n|\n|  lt(self, value, /)\n|      Return self<value.\n|\n|  ne(self, value, /)\n|      Return self!=value.\n|\n|  reduce(...)\n|      Return state information for pickling\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  setattr(self, name, value, /)\n|      Implement setattr(self, name, value).\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  hash = None\n\nTracebackType = class traceback(object)\n|  TracebackType(tbnext, tbframe, tblasti, tblineno)\n|  --\n|\n|  Create a new traceback object.\n|\n|  Methods defined here:\n|\n|  dir(...)\n|      Default dir() implementation.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  tbframe\n|\n|  tblasti\n|\n|  tblineno\n|\n|  tbnext\n"
                },
                {
                    "name": "class UnionType",
                    "content": "|  Represent a PEP 604 union type\n|\n|  E.g. for int | str\n|\n|  Methods defined here:\n|\n|  eq(self, value, /)\n|      Return self==value.\n|\n|  ge(self, value, /)\n|      Return self>=value.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  getitem(self, key, /)\n|      Return self[key].\n|\n|  gt(self, value, /)\n|      Return self>value.\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  instancecheck(...)\n|      Check if an object is an instance.\n|\n|  le(self, value, /)\n|      Return self<=value.\n|\n|  lt(self, value, /)\n|      Return self<value.\n|\n|  ne(self, value, /)\n|      Return self!=value.\n|\n|  or(self, value, /)\n|      Return self|value.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ror(self, value, /)\n|      Return value|self.\n|\n|  subclasscheck(...)\n|      Check if a class is a subclass.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  args\n|\n|  parameters\n|      Type variables in the types.UnionType.\n\nWrapperDescriptorType = class wrapperdescriptor(object)\n|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  get(self, instance, owner=None, /)\n|      Return an attribute of instance, which is of type owner.\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  objclass\n|\n|  textsignature\n"
                }
            ]
        },
        "FUNCTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "coroutine",
                    "content": "Convert regular generator function to a coroutine.\n"
                },
                {
                    "name": "new_class",
                    "content": "Create a class object dynamically using the appropriate metaclass.\n"
                },
                {
                    "name": "prepare_class",
                    "content": "Call the prepare method of the appropriate metaclass.\n\nReturns (metaclass, namespace, kwds) as a 3-tuple\n\n*metaclass* is the appropriate metaclass\n*namespace* is the prepared class namespace\n*kwds* is an updated copy of the passed in kwds argument with any\n'metaclass' entry removed. If no kwds argument is passed in, this will\nbe an empty dict.\n"
                },
                {
                    "name": "resolve_bases",
                    "content": "Resolve MRO entries dynamically as specified by PEP 560.\n"
                }
            ]
        },
        "DATA": {
            "content": "all = ['FunctionType', 'LambdaType', 'CodeType', 'MappingProxyType...\n",
            "subsections": []
        },
        "FILE": {
            "content": "/usr/lib/python3.10/types.py\n\n",
            "subsections": []
        }
    },
    "summary": "types - Define names for built-in types that aren't directly accessible as a builtin.",
    "flags": [],
    "examples": [],
    "see_also": []
}