1{".class": "MypyFile", "_fullname": "textwrap", "_name": null, "is_partial_stub_package": false, "is_stub": true, "names": {".class": "SymbolTable", "Callable": {".class": "SymbolTableNode", "cross_ref": "typing.Callable", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Dict": {".class": "SymbolTableNode", "cross_ref": "typing.Dict", "kind": "Gdef", "module_hidden": true, "module_public": false}, "List": {".class": "SymbolTableNode", "cross_ref": "typing.List", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Pattern": {".class": "SymbolTableNode", "cross_ref": "typing.Pattern", "kind": "Gdef", "module_hidden": true, "module_public": false}, "TextWrapper": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "textwrap.TextWrapper", "name": "TextWrapper", "type_vars": []}, "flags": [], "fullname": "textwrap.TextWrapper", "metaclass_type": null, "metadata": {}, "module_name": "textwrap", "mro": ["textwrap.TextWrapper", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 5], "arg_names": ["self", "width", "initial_indent", "subsequent_indent", "expand_tabs", "replace_whitespace", "fix_sentence_endings", "break_long_words", "drop_whitespace", "break_on_hyphens", "tabsize", "max_lines", "placeholder"], "flags": [], "fullname": "textwrap.TextWrapper.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 5], "arg_names": ["self", "width", "initial_indent", "subsequent_indent", "expand_tabs", "replace_whitespace", "fix_sentence_endings", "break_long_words", "drop_whitespace", "break_on_hyphens", "tabsize", "max_lines", "placeholder"], "arg_types": ["textwrap.TextWrapper", "builtins.int", "builtins.str", "builtins.str", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.int", {".class": "UnionType", "items": ["builtins.int", {".class": "NoneTyp"}]}, "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "__init__ of TextWrapper", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "_fix_sentence_endings": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "chunks"], "flags": [], "fullname": "textwrap.TextWrapper._fix_sentence_endings", "name": "_fix_sentence_endings", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "chunks"], "arg_types": ["textwrap.TextWrapper", {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "_fix_sentence_endings of TextWrapper", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "_handle_long_word": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0], "arg_names": ["self", "reversed_chunks", "cur_line", "cur_len", "width"], "flags": [], "fullname": "textwrap.TextWrapper._handle_long_word", "name": "_handle_long_word", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0], "arg_names": ["self", "reversed_chunks", "cur_line", "cur_len", "width"], "arg_types": ["textwrap.TextWrapper", {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "_handle_long_word of TextWrapper", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "_munge_whitespace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "text"], "flags": [], "fullname": "textwrap.TextWrapper._munge_whitespace", "name": "_munge_whitespace", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "text"], "arg_types": ["textwrap.TextWrapper", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "_munge_whitespace of TextWrapper", "ret_type": "builtins.str", "variables": []}}}, "_split": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "text"], "flags": [], "fullname": "textwrap.TextWrapper._split", "name": "_split", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "text"], "arg_types": ["textwrap.TextWrapper", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "_split of TextWrapper", "ret_type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, "variables": []}}}, "_split_chunks": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "text"], "flags": [], "fullname": "textwrap.TextWrapper._split_chunks", "name": "_split_chunks", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "text"], "arg_types": ["textwrap.TextWrapper", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "_split_chunks of TextWrapper", "ret_type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, "variables": []}}}, "_wrap_chunks": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "chunks"], "flags": [], "fullname": "textwrap.TextWrapper._wrap_chunks", "name": "_wrap_chunks", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "chunks"], "arg_types": ["textwrap.TextWrapper", {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "_wrap_chunks of TextWrapper", "ret_type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, "variables": []}}}, "break_long_words": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.break_long_words", "name": "break_long_words", "type": "builtins.bool"}}, "break_on_hyphens": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.break_on_hyphens", "name": "break_on_hyphens", "type": "builtins.bool"}}, "drop_whitespace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.drop_whitespace", "name": "drop_whitespace", "type": "builtins.bool"}}, "expand_tabs": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.expand_tabs", "name": "expand_tabs", "type": "builtins.bool"}}, "fill": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "text"], "flags": [], "fullname": "textwrap.TextWrapper.fill", "name": "fill", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "text"], "arg_types": ["textwrap.TextWrapper", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "fill of TextWrapper", "ret_type": "builtins.str", "variables": []}}}, "fix_sentence_endings": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.fix_sentence_endings", "name": "fix_sentence_endings", "type": "builtins.bool"}}, "initial_indent": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.initial_indent", "name": "initial_indent", "type": "builtins.str"}}, "max_lines": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.max_lines", "name": "max_lines", "type": {".class": "UnionType", "items": ["builtins.int", {".class": "NoneTyp"}]}}}, "placeholder": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.placeholder", "name": "placeholder", "type": "builtins.str"}}, "replace_whitespace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.replace_whitespace", "name": "replace_whitespace", "type": "builtins.bool"}}, "sentence_end_re": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.sentence_end_re", "name": "sentence_end_re", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}}}, "subsequent_indent": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.subsequent_indent", "name": "subsequent_indent", "type": "builtins.str"}}, "tabsize": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.tabsize", "name": "tabsize", "type": "builtins.int"}}, "unicode_whitespace_trans": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.unicode_whitespace_trans", "name": "unicode_whitespace_trans", "type": {".class": "Instance", "args": ["builtins.int", "builtins.int"], "type_ref": "builtins.dict"}}}, "uspace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.uspace", "name": "uspace", "type": "builtins.int"}}, "whitespace_trans": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.whitespace_trans", "name": "whitespace_trans", "type": "builtins.str"}}, "width": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.width", "name": "width", "type": "builtins.int"}}, "wordsep_re": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.wordsep_re", "name": "wordsep_re", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}}}, "wordsep_simple_re": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.wordsep_simple_re", "name": "wordsep_simple_re", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}}}, "wrap": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "text"], "flags": [], "fullname": "textwrap.TextWrapper.wrap", "name": "wrap", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "text"], "arg_types": ["textwrap.TextWrapper", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "wrap of TextWrapper", "ret_type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, "variables": []}}}, "x": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "textwrap.TextWrapper.x", "name": "x", "type": "builtins.int"}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "textwrap.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "textwrap.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "textwrap.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "textwrap.__package__", "name": "__package__", "type": "builtins.str"}}, "dedent": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["text"], "flags": [], "fullname": "textwrap.dedent", "name": "dedent", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["text"], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "dedent", "ret_type": "builtins.str", "variables": []}}}, "fill": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["text", "width", "initial_indent", "subsequent_indent", "expand_tabs", "tabsize", "replace_whitespace", "fix_sentence_endings", "break_long_words", "break_on_hyphens", "drop_whitespace", "max_lines", "placeholder"], "flags": [], "fullname": "textwrap.fill", "name": "fill", "type": {".class": "CallableType", "arg_kinds": [0, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["text", "width", "initial_indent", "subsequent_indent", "expand_tabs", "tabsize", "replace_whitespace", "fix_sentence_endings", "break_long_words", "break_on_hyphens", "drop_whitespace", "max_lines", "placeholder"], "arg_types": ["builtins.str", "builtins.int", "builtins.str", "builtins.str", "builtins.bool", "builtins.int", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.int", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "fill", "ret_type": "builtins.str", "variables": []}}}, "indent": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["text", "prefix", "predicate"], "flags": [], "fullname": "textwrap.indent", "name": "indent", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["text", "prefix", "predicate"], "arg_types": ["builtins.str", "builtins.str", {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": null, "ret_type": "builtins.bool", "variables": []}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "indent", "ret_type": "builtins.str", "variables": []}}}, "shorten": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["text", "width", "initial_indent", "subsequent_indent", "expand_tabs", "tabsize", "replace_whitespace", "fix_sentence_endings", "break_long_words", "break_on_hyphens", "drop_whitespace", "placeholder"], "flags": [], "fullname": "textwrap.shorten", "name": "shorten", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["text", "width", "initial_indent", "subsequent_indent", "expand_tabs", "tabsize", "replace_whitespace", "fix_sentence_endings", "break_long_words", "break_on_hyphens", "drop_whitespace", "placeholder"], "arg_types": ["builtins.str", "builtins.int", "builtins.str", "builtins.str", "builtins.bool", "builtins.int", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "shorten", "ret_type": "builtins.str", "variables": []}}}, "wrap": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [1, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["text", "width", "initial_indent", "subsequent_indent", "expand_tabs", "tabsize", "replace_whitespace", "fix_sentence_endings", "break_long_words", "break_on_hyphens", "drop_whitespace", "max_lines", "placeholder"], "flags": [], "fullname": "textwrap.wrap", "name": "wrap", "type": {".class": "CallableType", "arg_kinds": [1, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["text", "width", "initial_indent", "subsequent_indent", "expand_tabs", "tabsize", "replace_whitespace", "fix_sentence_endings", "break_long_words", "break_on_hyphens", "drop_whitespace", "max_lines", "placeholder"], "arg_types": ["builtins.str", "builtins.int", "builtins.str", "builtins.str", "builtins.bool", "builtins.int", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.int", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_classmethod_class": false, "is_ellipsis_args": false, "name": "wrap", "ret_type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, "variables": []}}}}, "path": "/Library/Frameworks/Python.framework/Versions/3.7/lib/mypy/typeshed/stdlib/3/textwrap.pyi"}
2