Consistently use '= ...' for optional parameters.

This commit is contained in:
Matthias Kramm
2015-11-09 13:55:00 -08:00
parent 375bf063b1
commit 94c9ce8fd0
278 changed files with 2085 additions and 2085 deletions

View File

@@ -8,8 +8,8 @@ class _UUIDFields(NamedTuple('_UUIDFields',
clock_seq = ... # type: int
class UUID:
def __init__(self, hex: str = None, bytes: str = None, bytes_le: str = None,
fields: Tuple[int, int, int, int, int, int] = None, int: int = None, version: Any = None) -> None: ...
def __init__(self, hex: str = ..., bytes: str = ..., bytes_le: str = ...,
fields: Tuple[int, int, int, int, int, int] = ..., int: int = ..., version: Any = ...) -> None: ...
bytes = ... # type: str
bytes_le = ... # type: str
fields = ... # type: _UUIDFields
@@ -25,7 +25,7 @@ RESERVED_MICROSOFT = ... # type: int
RESERVED_FUTURE = ... # type: int
def getnode() -> int: ...
def uuid1(node: int = None, clock_seq: int = None) -> UUID: ...
def uuid1(node: int = ..., clock_seq: int = ...) -> UUID: ...
def uuid3(namespace: UUID, name: str) -> UUID: ...
def uuid4() -> UUID: ...
def uuid5(namespace: UUID, name: str) -> UUID: ...