mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 03:21:25 +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
+2
-2
@@ -49,9 +49,9 @@ HAVE_ARGUMENT: Literal[90]
|
||||
EXTENDED_ARG: Literal[144]
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
def stack_effect(__opcode: int, __oparg: int | None = ..., *, jump: bool | None = None) -> int: ...
|
||||
def stack_effect(__opcode: int, __oparg: int | None = None, *, jump: bool | None = None) -> int: ...
|
||||
|
||||
else:
|
||||
def stack_effect(__opcode: int, __oparg: int | None = ...) -> int: ...
|
||||
def stack_effect(__opcode: int, __oparg: int | None = None) -> int: ...
|
||||
|
||||
hasnargs: list[int]
|
||||
Reference in new issue
Block a user