mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -15,11 +15,11 @@ class Hash(metaclass=ABCMeta):
|
||||
@abstractmethod
|
||||
def copy(self) -> 'Hash': ...
|
||||
|
||||
def md5(arg: bytes = None) -> Hash: ...
|
||||
def sha1(arg: bytes = None) -> Hash: ...
|
||||
def sha224(arg: bytes = None) -> Hash: ...
|
||||
def sha256(arg: bytes = None) -> Hash: ...
|
||||
def sha384(arg: bytes = None) -> Hash: ...
|
||||
def sha512(arg: bytes = None) -> Hash: ...
|
||||
def md5(arg: bytes = ...) -> Hash: ...
|
||||
def sha1(arg: bytes = ...) -> Hash: ...
|
||||
def sha224(arg: bytes = ...) -> Hash: ...
|
||||
def sha256(arg: bytes = ...) -> Hash: ...
|
||||
def sha384(arg: bytes = ...) -> Hash: ...
|
||||
def sha512(arg: bytes = ...) -> Hash: ...
|
||||
|
||||
def new(name: str, data: bytes = None) -> Hash: ...
|
||||
def new(name: str, data: bytes = ...) -> Hash: ...
|
||||
|
||||
Reference in New Issue
Block a user