mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 11:31:25 +08:00
Use "..." for attribute values, instead of None, [], {}
This commit is contained in:
1 parent
f45c00f129
commit
d0ac66f5f8
17 files changed
+49
-49
No files matched your search
@@ -35,7 +35,7 @@ class MutableString(UserString, MutableSequence): ...
|
||||
# Technically, deque only derives from MutableSequence in 3.5.
|
||||
# But in practice it's not worth losing sleep over.
|
||||
class deque(MutableSequence[_T], Generic[_T]):
|
||||
maxlen = 0 # type: Optional[int] # TODO readonly
|
||||
maxlen = ... # type: Optional[int] # TODO readonly
|
||||
def __init__(self, iterable: Iterable[_T] = ...,
|
||||
maxlen: int = ...) -> None: ...
|
||||
def append(self, x: _T) -> None: ...
|
||||
|
||||
Reference in new issue
Block a user