2 lines
26 KiB
JSON
2 lines
26 KiB
JSON
{".class": "MypyFile", "_fullname": "mmap", "is_partial_stub_package": false, "is_stub": true, "names": {".class": "SymbolTable", "ACCESS_COPY": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.ACCESS_COPY", "name": "ACCESS_COPY", "type": "builtins.int"}}, "ACCESS_DEFAULT": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.ACCESS_DEFAULT", "name": "ACCESS_DEFAULT", "type": "builtins.int"}}, "ACCESS_READ": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.ACCESS_READ", "name": "ACCESS_READ", "type": "builtins.int"}}, "ACCESS_WRITE": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.ACCESS_WRITE", "name": "ACCESS_WRITE", "type": "builtins.int"}}, "ALLOCATIONGRANULARITY": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.ALLOCATIONGRANULARITY", "name": "ALLOCATIONGRANULARITY", "type": "builtins.int"}}, "AnyStr": {".class": "SymbolTableNode", "cross_ref": "typing.AnyStr", "kind": "Tvar", "module_hidden": true, "module_public": false}, "ContextManager": {".class": "SymbolTableNode", "cross_ref": "typing.ContextManager", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Generic": {".class": "SymbolTableNode", "cross_ref": "typing.Generic", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Iterable": {".class": "SymbolTableNode", "cross_ref": "typing.Iterable", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Iterator": {".class": "SymbolTableNode", "cross_ref": "typing.Iterator", "kind": "Gdef", "module_hidden": true, "module_public": false}, "MAP_ANON": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.MAP_ANON", "name": "MAP_ANON", "type": "builtins.int"}}, "MAP_ANONYMOUS": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.MAP_ANONYMOUS", "name": "MAP_ANONYMOUS", "type": "builtins.int"}}, "MAP_DENYWRITE": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.MAP_DENYWRITE", "name": "MAP_DENYWRITE", "type": "builtins.int"}}, "MAP_EXECUTABLE": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.MAP_EXECUTABLE", "name": "MAP_EXECUTABLE", "type": "builtins.int"}}, "MAP_PRIVATE": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.MAP_PRIVATE", "name": "MAP_PRIVATE", "type": "builtins.int"}}, "MAP_SHARED": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.MAP_SHARED", "name": "MAP_SHARED", "type": "builtins.int"}}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef", "module_hidden": true, "module_public": false}, "PAGESIZE": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.PAGESIZE", "name": "PAGESIZE", "type": "builtins.int"}}, "PROT_EXEC": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.PROT_EXEC", "name": "PROT_EXEC", "type": "builtins.int"}}, "PROT_READ": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.PROT_READ", "name": "PROT_READ", "type": "builtins.int"}}, "PROT_WRITE": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.PROT_WRITE", "name": "PROT_WRITE", "type": "builtins.int"}}, "Sequence": {".class": "SymbolTableNode", "cross_ref": "typing.Sequence", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Sized": {".class": "SymbolTableNode", "cross_ref": "typing.Sized", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Union": {".class": "SymbolTableNode", "cross_ref": "typing.Union", "kind": "Gdef", "module_hidden": true, "module_public": false}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "mmap.__package__", "name": "__package__", "type": "builtins.str"}}, "_mmap": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "mmap._mmap", "name": "_mmap", "type_vars": [{".class": "TypeVarDef", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}]}, "flags": [], "fullname": "mmap._mmap", "metaclass_type": null, "metadata": {}, "module_name": "mmap", "mro": ["mmap._mmap", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1, 1, 1, 1], "arg_names": ["self", "fileno", "length", "flags", "prot", "access", "offset"], "flags": ["is_conditional"], "fullname": "mmap._mmap.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 1, 1, 1, 1], "arg_names": ["self", "fileno", "length", "flags", "prot", "access", "offset"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}, "builtins.int", "builtins.int", "builtins.int", "builtins.int", "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of _mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "__len__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "mmap._mmap.__len__", "name": "__len__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__len__ of _mmap", "ret_type": "builtins.int", "variables": []}}}, "close": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "mmap._mmap.close", "name": "close", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "close of _mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "find": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["self", "sub", "start", "end"], "flags": [], "fullname": "mmap._mmap.find", "name": "find", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1], "arg_names": ["self", "sub", "start", "end"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}, {".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}, "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "find of _mmap", "ret_type": "builtins.int", "variables": []}}}, "flush": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1], "arg_names": ["self", "offset", "size"], "flags": [], "fullname": "mmap._mmap.flush", "name": "flush", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1], "arg_names": ["self", "offset", "size"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}, "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "flush of _mmap", "ret_type": "builtins.int", "variables": []}}}, "move": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "dest", "src", "count"], "flags": [], "fullname": "mmap._mmap.move", "name": "move", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "dest", "src", "count"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}, "builtins.int", "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "move of _mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "read": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "n"], "flags": [], "fullname": "mmap._mmap.read", "name": "read", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["self", "n"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}, "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "read of _mmap", "ret_type": {".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}, "variables": []}}}, "read_byte": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "mmap._mmap.read_byte", "name": "read_byte", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "read_byte of _mmap", "ret_type": {".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}, "variables": []}}}, "readline": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "mmap._mmap.readline", "name": "readline", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "readline of _mmap", "ret_type": {".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}, "variables": []}}}, "resize": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "newsize"], "flags": [], "fullname": "mmap._mmap.resize", "name": "resize", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "newsize"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}, "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "resize of _mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "seek": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "pos", "whence"], "flags": [], "fullname": "mmap._mmap.seek", "name": "seek", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["self", "pos", "whence"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}, "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "seek of _mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "size": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "mmap._mmap.size", "name": "size", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "size of _mmap", "ret_type": "builtins.int", "variables": []}}}, "tell": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "mmap._mmap.tell", "name": "tell", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "tell of _mmap", "ret_type": "builtins.int", "variables": []}}}, "write": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "bytes"], "flags": [], "fullname": "mmap._mmap.write", "name": "write", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "bytes"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}, {".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "write of _mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "write_byte": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "byte"], "flags": [], "fullname": "mmap._mmap.write_byte", "name": "write_byte", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "byte"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "type_ref": "mmap._mmap"}, {".class": "TypeVarType", "fullname": "typing.AnyStr", "id": 1, "name": "AnyStr", "upper_bound": "builtins.object", "values": ["builtins.str", "builtins.bytes"], "variance": 0}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "write_byte of _mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}}}}, "tuple_type": null, "type_vars": ["AnyStr"], "typeddict_type": null}}, "mmap": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "mmap._mmap"}, {".class": "Instance", "args": ["mmap.mmap"], "type_ref": "typing.ContextManager"}, {".class": "Instance", "args": ["builtins.bytes"], "type_ref": "typing.Iterable"}, "typing.Sized"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "mmap.mmap", "name": "mmap", "type_vars": []}, "flags": [], "fullname": "mmap.mmap", "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "mmap", "mro": ["mmap.mmap", "mmap._mmap", "typing.ContextManager", "typing.Iterable", "typing.Sized", "builtins.object"], "names": {".class": "SymbolTable", "__delitem__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "index"], "flags": [], "fullname": "mmap.mmap.__delitem__", "name": "__delitem__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["mmap.mmap", {".class": "UnionType", "items": ["builtins.int", "builtins.slice"]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__delitem__ of mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "__getitem__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "mmap.mmap.__getitem__", "impl": null, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "index"], "flags": ["is_overload", "is_decorated"], "fullname": "mmap.mmap.__getitem__", "name": "__getitem__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["mmap.mmap", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__getitem__ of mmap", "ret_type": "builtins.int", "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "__getitem__", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "index"], "flags": ["is_overload", "is_decorated"], "fullname": "mmap.mmap.__getitem__", "name": "__getitem__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["mmap.mmap", "builtins.slice"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__getitem__ of mmap", "ret_type": "builtins.bytes", "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "__getitem__", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["mmap.mmap", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__getitem__ of mmap", "ret_type": "builtins.int", "variables": []}, {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["mmap.mmap", "builtins.slice"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__getitem__ of mmap", "ret_type": "builtins.bytes", "variables": []}]}}}, "__iter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "mmap.mmap.__iter__", "name": "__iter__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["mmap.mmap"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__iter__ of mmap", "ret_type": {".class": "Instance", "args": ["builtins.bytes"], "type_ref": "typing.Iterator"}, "variables": []}}}, "__setitem__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "mmap.mmap.__setitem__", "impl": null, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "index", "object"], "flags": ["is_overload", "is_decorated"], "fullname": "mmap.mmap.__setitem__", "name": "__setitem__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": [null, null, null], "arg_types": ["mmap.mmap", "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__setitem__ of mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "__setitem__", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "index", "object"], "flags": ["is_overload", "is_decorated"], "fullname": "mmap.mmap.__setitem__", "name": "__setitem__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": [null, null, null], "arg_types": ["mmap.mmap", "builtins.slice", "builtins.bytes"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__setitem__ of mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "__setitem__", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": [null, null, null], "arg_types": ["mmap.mmap", "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__setitem__ of mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}, {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": [null, null, null], "arg_types": ["mmap.mmap", "builtins.slice", "builtins.bytes"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__setitem__ of mmap", "ret_type": {".class": "NoneTyp"}, "variables": []}]}}}, "closed": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "mmap.mmap.closed", "name": "closed", "type": "builtins.bool"}}, "rfind": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["self", "sub", "start", "stop"], "flags": [], "fullname": "mmap.mmap.rfind", "name": "rfind", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1], "arg_names": ["self", "sub", "start", "stop"], "arg_types": ["mmap.mmap", "builtins.bytes", "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "rfind of mmap", "ret_type": "builtins.int", "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "overload": {".class": "SymbolTableNode", "cross_ref": "typing.overload", "kind": "Gdef", "module_hidden": true, "module_public": false}, "sys": {".class": "SymbolTableNode", "cross_ref": "sys", "kind": "ModuleRef", "module_hidden": true, "module_public": false}}, "path": "/usr/local/lib/python3.6/dist-packages/mypy/typeshed/stdlib/2and3/mmap.pyi"}
|