mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 04:52:23 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -5,7 +5,7 @@ __all__ = ["encode", "decode", "encodestring", "decodestring"]
|
||||
|
||||
class _Input(SupportsRead[bytes], SupportsNoArgReadline[bytes], Protocol): ...
|
||||
|
||||
def encode(input: _Input, output: SupportsWrite[bytes], quotetabs: int, header: int = ...) -> None: ...
|
||||
def encodestring(s: ReadableBuffer, quotetabs: int = ..., header: int = ...) -> bytes: ...
|
||||
def decode(input: _Input, output: SupportsWrite[bytes], header: int = ...) -> None: ...
|
||||
def decodestring(s: str | ReadableBuffer, header: int = ...) -> bytes: ...
|
||||
def encode(input: _Input, output: SupportsWrite[bytes], quotetabs: int, header: int = False) -> None: ...
|
||||
def encodestring(s: ReadableBuffer, quotetabs: int = False, header: int = False) -> bytes: ...
|
||||
def decode(input: _Input, output: SupportsWrite[bytes], header: int = False) -> None: ...
|
||||
def decodestring(s: str | ReadableBuffer, header: int = False) -> bytes: ...
|
||||
|
||||
Reference in New Issue
Block a user