mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
stdlib: use bool for annotations where the default is False (#9672)
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 = 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: ...
|
||||
def encode(input: _Input, output: SupportsWrite[bytes], quotetabs: int, header: bool = False) -> None: ...
|
||||
def encodestring(s: ReadableBuffer, quotetabs: bool = False, header: bool = False) -> bytes: ...
|
||||
def decode(input: _Input, output: SupportsWrite[bytes], header: bool = False) -> None: ...
|
||||
def decodestring(s: str | ReadableBuffer, header: bool = False) -> bytes: ...
|
||||
|
||||
Reference in New Issue
Block a user