mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 20:54:32 +08:00
stdlib: Add defaults for positional-only parameters (#9655)
This commit is contained in:
1 parent
35172c7aab
commit
1d7dda7fa1
30 files changed
+159
-155
No files matched your search
+1
-1
@@ -26,7 +26,7 @@ if sys.version_info < (3, 11):
|
||||
def b2a_hqx(__data: ReadableBuffer) -> bytes: ...
|
||||
|
||||
def crc_hqx(__data: ReadableBuffer, __crc: int) -> int: ...
|
||||
def crc32(__data: ReadableBuffer, __crc: int = ...) -> int: ...
|
||||
def crc32(__data: ReadableBuffer, __crc: int = 0) -> int: ...
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
# sep must be str or bytes, not bytearray or any other buffer
|
||||
|
||||
Reference in new issue
Block a user