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

@@ -7,7 +7,7 @@ Bytes = __builtins__.bytes
FieldsType = Tuple[Int, Int, Int, Int, Int, Int]
class UUID:
def __init__(self, hex: str=None, bytes: Bytes=None, bytes_le: Bytes=None, fields: FieldsType=None, int: Int=None, version: Int=None) -> None: ...
def __init__(self, hex: str=..., bytes: Bytes=..., bytes_le: Bytes=..., fields: FieldsType=..., int: Int=..., version: Int=...) -> None: ...
@property
def bytes(self) -> Bytes: ...
@@ -58,7 +58,7 @@ class UUID:
def version(self) -> str: ...
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: ...