mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
drop ellipsis assignments from module vars, classvars and instance attrs (#5914)
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
from typing import Callable, Pattern
|
||||
|
||||
class TextWrapper:
|
||||
width: int = ...
|
||||
initial_indent: str = ...
|
||||
subsequent_indent: str = ...
|
||||
expand_tabs: bool = ...
|
||||
replace_whitespace: bool = ...
|
||||
fix_sentence_endings: bool = ...
|
||||
drop_whitespace: bool = ...
|
||||
break_long_words: bool = ...
|
||||
break_on_hyphens: bool = ...
|
||||
tabsize: int = ...
|
||||
max_lines: int | None = ...
|
||||
placeholder: str = ...
|
||||
width: int
|
||||
initial_indent: str
|
||||
subsequent_indent: str
|
||||
expand_tabs: bool
|
||||
replace_whitespace: bool
|
||||
fix_sentence_endings: bool
|
||||
drop_whitespace: bool
|
||||
break_long_words: bool
|
||||
break_on_hyphens: bool
|
||||
tabsize: int
|
||||
max_lines: int | None
|
||||
placeholder: str
|
||||
|
||||
# Attributes not present in documentation
|
||||
sentence_end_re: Pattern[str] = ...
|
||||
wordsep_re: Pattern[str] = ...
|
||||
wordsep_simple_re: Pattern[str] = ...
|
||||
whitespace_trans: str = ...
|
||||
unicode_whitespace_trans: dict[int, int] = ...
|
||||
uspace: int = ...
|
||||
x: str = ... # leaked loop variable
|
||||
sentence_end_re: Pattern[str]
|
||||
wordsep_re: Pattern[str]
|
||||
wordsep_simple_re: Pattern[str]
|
||||
whitespace_trans: str
|
||||
unicode_whitespace_trans: dict[int, int]
|
||||
uspace: int
|
||||
x: str # leaked loop variable
|
||||
def __init__(
|
||||
self,
|
||||
width: int = ...,
|
||||
|
||||
Reference in New Issue
Block a user