--- /dev/null
+from typing import AnyStr, List, Dict, Pattern\r
+\r
+class TextWrapper(object):\r
+ width: int = ...\r
+ initial_indent: str = ...\r
+ subsequent_indent: str = ...\r
+ expand_tabs: bool = ...\r
+ replace_whitespace: bool = ...\r
+ fix_sentence_endings: bool = ...\r
+ drop_whitespace: bool = ...\r
+ break_long_words: bool = ...\r
+ break_on_hyphens: bool = ...\r
+\r
+ # Attributes not present in documentation\r
+ sentence_end_re: Pattern[str] = ...\r
+ wordsep_re: Pattern[str] = ...\r
+ wordsep_simple_re: Pattern[str] = ...\r
+ whitespace_trans: str = ...\r
+ unicode_whitespace_trans: Dict[int, int] = ...\r
+ uspace: int = ...\r
+ x: int = ...\r
+\r
+ def __init__(\r
+ self,\r
+ width: int = ...,\r
+ initial_indent: str = ...,\r
+ subsequent_indent: str = ...,\r
+ expand_tabs: bool = ...,\r
+ replace_whitespace: bool = ...,\r
+ fix_sentence_endings: bool = ...,\r
+ break_long_words: bool = ...,\r
+ drop_whitespace: bool = ...,\r
+ break_on_hyphens: bool = ...) -> None:\r
+ ...\r
+\r
+ def wrap(self, text: AnyStr) -> List[AnyStr]: ...\r
+ def fill(self, text: AnyStr) -> AnyStr: ...\r
+\r
+def wrap(\r
+ text: AnyStr,\r
+ width: int = ...,\r
+ initial_indent: AnyStr = ...,\r
+ subsequent_indent: AnyStr = ...,\r
+ expand_tabs: bool = ...,\r
+ replace_whitespace: bool = ...,\r
+ fix_sentence_endings: bool = ...,\r
+ break_long_words: bool = ...,\r
+ drop_whitespace: bool = ...,\r
+ break_on_hyphens: bool = ...) -> List[AnyStr]:\r
+ ...\r
+\r
+def fill(\r
+ text: AnyStr,\r
+ width: int =...,\r
+ initial_indent: AnyStr = ...,\r
+ subsequent_indent: AnyStr = ...,\r
+ expand_tabs: bool = ...,\r
+ replace_whitespace: bool = ...,\r
+ fix_sentence_endings: bool = ...,\r
+ break_long_words: bool = ...,\r
+ drop_whitespace: bool = ...,\r
+ break_on_hyphens: bool = ...) -> AnyStr:\r
+ ...\r
+\r
+def dedent(text: AnyStr) -> AnyStr: ...\r