mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -7,17 +7,17 @@ from typing_extensions import TypeAlias
|
||||
_AsciiBuffer: TypeAlias = str | ReadableBuffer
|
||||
|
||||
def a2b_uu(__data: _AsciiBuffer) -> bytes: ...
|
||||
def b2a_uu(__data: ReadableBuffer, *, backtick: bool = ...) -> bytes: ...
|
||||
def b2a_uu(__data: ReadableBuffer, *, backtick: bool = False) -> bytes: ...
|
||||
|
||||
if sys.version_info >= (3, 11):
|
||||
def a2b_base64(__data: _AsciiBuffer, *, strict_mode: bool = ...) -> bytes: ...
|
||||
def a2b_base64(__data: _AsciiBuffer, *, strict_mode: bool = False) -> bytes: ...
|
||||
|
||||
else:
|
||||
def a2b_base64(__data: _AsciiBuffer) -> bytes: ...
|
||||
|
||||
def b2a_base64(__data: ReadableBuffer, *, newline: bool = ...) -> bytes: ...
|
||||
def a2b_qp(data: _AsciiBuffer, header: bool = ...) -> bytes: ...
|
||||
def b2a_qp(data: ReadableBuffer, quotetabs: bool = ..., istext: bool = ..., header: bool = ...) -> bytes: ...
|
||||
def b2a_base64(__data: ReadableBuffer, *, newline: bool = True) -> bytes: ...
|
||||
def a2b_qp(data: _AsciiBuffer, header: bool = False) -> bytes: ...
|
||||
def b2a_qp(data: ReadableBuffer, quotetabs: bool = False, istext: bool = True, header: bool = False) -> bytes: ...
|
||||
|
||||
if sys.version_info < (3, 11):
|
||||
def a2b_hqx(__data: _AsciiBuffer) -> bytes: ...
|
||||
|
||||
Reference in New Issue
Block a user