patrickvonplaten's picture
up
42c139e
raw
history blame
20 kB
{".class": "MypyFile", "_fullname": "_csv", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": true, "names": {".class": "SymbolTable", "Any": {".class": "SymbolTableNode", "cross_ref": "typing.Any", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Dialect": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "_csv.Dialect", "name": "Dialect", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "_csv.Dialect", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "_csv", "mro": ["_csv.Dialect", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "_csv.Dialect.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_csv.Dialect"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of Dialect", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "delimiter": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "_csv.Dialect.delimiter", "name": "delimiter", "type": "builtins.str"}}, "doublequote": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "_csv.Dialect.doublequote", "name": "doublequote", "type": "builtins.bool"}}, "escapechar": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "_csv.Dialect.escapechar", "name": "escapechar", "type": {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}}}, "lineterminator": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "_csv.Dialect.lineterminator", "name": "lineterminator", "type": "builtins.str"}}, "quotechar": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "_csv.Dialect.quotechar", "name": "quotechar", "type": {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}}}, "quoting": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "_csv.Dialect.quoting", "name": "quoting", "type": "builtins.int"}}, "skipinitialspace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "_csv.Dialect.skipinitialspace", "name": "skipinitialspace", "type": "builtins.bool"}}, "strict": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "_csv.Dialect.strict", "name": "strict", "type": "builtins.bool"}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Error": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.Exception"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "_csv.Error", "name": "Error", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "_csv.Error", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "_csv", "mro": ["_csv.Error", "builtins.Exception", "builtins.BaseException", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "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}, "Literal": {".class": "SymbolTableNode", "cross_ref": "typing_extensions.Literal", "kind": "Gdef", "module_hidden": true, "module_public": false}, "QUOTE_ALL": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_csv.QUOTE_ALL", "name": "QUOTE_ALL", "type": {".class": "LiteralType", "fallback": "builtins.int", "value": 1}}}, "QUOTE_MINIMAL": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_csv.QUOTE_MINIMAL", "name": "QUOTE_MINIMAL", "type": {".class": "LiteralType", "fallback": "builtins.int", "value": 0}}}, "QUOTE_NONE": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_csv.QUOTE_NONE", "name": "QUOTE_NONE", "type": {".class": "LiteralType", "fallback": "builtins.int", "value": 3}}}, "QUOTE_NONNUMERIC": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_csv.QUOTE_NONNUMERIC", "name": "QUOTE_NONNUMERIC", "type": {".class": "LiteralType", "fallback": "builtins.int", "value": 2}}}, "SupportsWrite": {".class": "SymbolTableNode", "cross_ref": "_typeshed.SupportsWrite", "kind": "Gdef", "module_hidden": true, "module_public": false}, "TypeAlias": {".class": "SymbolTableNode", "cross_ref": "typing_extensions.TypeAlias", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Union": {".class": "SymbolTableNode", "cross_ref": "typing.Union", "kind": "Gdef", "module_hidden": true, "module_public": false}, "_DialectLike": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "_csv._DialectLike", "line": 30, "no_args": false, "normalized": false, "target": {".class": "UnionType", "items": ["builtins.str", "_csv.Dialect", {".class": "TypeType", "item": "_csv.Dialect"}]}}}, "_QuotingType": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "_csv._QuotingType", "line": 15, "no_args": true, "normalized": false, "target": "builtins.int"}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_csv.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_csv.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_csv.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_csv.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_csv.__package__", "name": "__package__", "type": "builtins.str"}}, "__version__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_csv.__version__", "name": "__version__", "type": "builtins.str"}}, "_reader": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}], "type_ref": "typing.Iterator"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "_csv._reader", "name": "_reader", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "_csv._reader", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "_csv", "mro": ["_csv._reader", "typing.Iterator", "typing.Iterable", "builtins.object"], "names": {".class": "SymbolTable", "__next__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "_csv._reader.__next__", "name": "__next__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_csv._reader"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__next__ of _reader", "ret_type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, "type_guard": null, "variables": []}}}, "dialect": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "_csv._reader.dialect", "name": "dialect", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_csv._reader"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "dialect of _reader", "ret_type": "_csv.Dialect", "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "dialect", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_csv._reader"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "dialect of _reader", "ret_type": "_csv.Dialect", "type_guard": null, "variables": []}}}}, "line_num": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "_csv._reader.line_num", "name": "line_num", "type": "builtins.int"}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_writer": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "_csv._writer", "name": "_writer", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "_csv._writer", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "_csv", "mro": ["_csv._writer", "builtins.object"], "names": {".class": "SymbolTable", "dialect": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "_csv._writer.dialect", "name": "dialect", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_csv._writer"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "dialect of _writer", "ret_type": "_csv.Dialect", "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "dialect", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_csv._writer"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "dialect of _writer", "ret_type": "_csv.Dialect", "type_guard": null, "variables": []}}}}, "writerow": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "row"], "flags": [], "fullname": "_csv._writer.writerow", "name": "writerow", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "row"], "arg_types": ["_csv._writer", {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "typing.Iterable"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "writerow of _writer", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "writerows": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "rows"], "flags": [], "fullname": "_csv._writer.writerows", "name": "writerows", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "rows"], "arg_types": ["_csv._writer", {".class": "Instance", "args": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "typing.Iterable"}], "type_ref": "typing.Iterable"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "writerows of _writer", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "field_size_limit": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [1], "arg_names": ["new_limit"], "flags": [], "fullname": "_csv.field_size_limit", "name": "field_size_limit", "type": {".class": "CallableType", "arg_kinds": [1], "arg_names": ["new_limit"], "arg_types": ["builtins.int"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "field_size_limit", "ret_type": "builtins.int", "type_guard": null, "variables": []}}}, "get_dialect": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["name"], "flags": [], "fullname": "_csv.get_dialect", "name": "get_dialect", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["name"], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_dialect", "ret_type": "_csv.Dialect", "type_guard": null, "variables": []}}}, "list_dialects": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "_csv.list_dialects", "name": "list_dialects", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "list_dialects", "ret_type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, "type_guard": null, "variables": []}}}, "reader": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["csvfile", "dialect", "delimiter", "quotechar", "escapechar", "doublequote", "skipinitialspace", "lineterminator", "quoting", "strict"], "flags": [], "fullname": "_csv.reader", "name": "reader", "type": {".class": "CallableType", "arg_kinds": [0, 1, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["csvfile", "dialect", "delimiter", "quotechar", "escapechar", "doublequote", "skipinitialspace", "lineterminator", "quoting", "strict"], "arg_types": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Iterable"}, {".class": "TypeAliasType", "args": [], "type_ref": "_csv._DialectLike"}, "builtins.str", {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, "builtins.bool", "builtins.bool", "builtins.str", "builtins.int", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "reader", "ret_type": "_csv._reader", "type_guard": null, "variables": []}}}, "register_dialect": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["name", "dialect", "delimiter", "quotechar", "escapechar", "doublequote", "skipinitialspace", "lineterminator", "quoting", "strict"], "flags": [], "fullname": "_csv.register_dialect", "name": "register_dialect", "type": {".class": "CallableType", "arg_kinds": [0, 1, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["name", "dialect", "delimiter", "quotechar", "escapechar", "doublequote", "skipinitialspace", "lineterminator", "quoting", "strict"], "arg_types": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.str", {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, "builtins.bool", "builtins.bool", "builtins.str", "builtins.int", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "register_dialect", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "unregister_dialect": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["name"], "flags": [], "fullname": "_csv.unregister_dialect", "name": "unregister_dialect", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["name"], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "unregister_dialect", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "writer": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["csvfile", "dialect", "delimiter", "quotechar", "escapechar", "doublequote", "skipinitialspace", "lineterminator", "quoting", "strict"], "flags": [], "fullname": "_csv.writer", "name": "writer", "type": {".class": "CallableType", "arg_kinds": [0, 1, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["csvfile", "dialect", "delimiter", "quotechar", "escapechar", "doublequote", "skipinitialspace", "lineterminator", "quoting", "strict"], "arg_types": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "_typeshed.SupportsWrite"}, {".class": "TypeAliasType", "args": [], "type_ref": "_csv._DialectLike"}, "builtins.str", {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, "builtins.bool", "builtins.bool", "builtins.str", "builtins.int", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "writer", "ret_type": "_csv._writer", "type_guard": null, "variables": []}}}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/mypy/typeshed/stdlib/_csv.pyi"}