mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 06:45:51 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
1 parent
375bf063b1
commit
94c9ce8fd0
278 files changed
+2085
-2085
No files matched your search
@@ -10,5 +10,5 @@ class StreamReader(codecs.StreamReader):
|
||||
pass
|
||||
|
||||
def getregentry() -> codecs.CodecInfo: pass
|
||||
def encode(input: str, errors: str = 'strict') -> bytes: pass
|
||||
def decode(input: bytes, errors: str = 'strict') -> str: pass
|
||||
def encode(input: str, errors: str = ...) -> bytes: pass
|
||||
def decode(input: bytes, errors: str = ...) -> str: pass
|
||||
Reference in new issue
Block a user