mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 03:11:16 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -6,6 +6,6 @@ _VT = TypeVar('_VT')
|
||||
class UserDict(Dict[_KT, _VT], Generic[_KT, _VT]):
|
||||
data = ... # type: Mapping[_KT, _VT]
|
||||
|
||||
def __init__(self, initialdata: Mapping[_KT, _VT] = None) -> None: ...
|
||||
def __init__(self, initialdata: Mapping[_KT, _VT] = ...) -> None: ...
|
||||
|
||||
# TODO: DictMixin
|
||||
|
||||
Reference in New Issue
Block a user