mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
opcode: fix positional-only args (#4026)
Co-authored-by: hauntsaninja <>
This commit is contained in:
1 parent
4a9fdcc7fc
commit
9c9eae8462
2 files changed
+2
-4
No files matched your search
@@ -17,9 +17,9 @@ HAVE_ARGUMENT: int
|
||||
EXTENDED_ARG: int
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
def stack_effect(opcode: int, oparg: Optional[int] = ..., *, jump: Optional[bool] = ...) -> int: ...
|
||||
def stack_effect(__opcode: int, __oparg: Optional[int] = ..., *, jump: Optional[bool] = ...) -> int: ...
|
||||
elif sys.version_info >= (3, 4):
|
||||
def stack_effect(opcode: int, oparg: Optional[int] = ...) -> int: ...
|
||||
def stack_effect(__opcode: int, __oparg: Optional[int] = ...) -> int: ...
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
hasnargs: List[int]
|
||||
Reference in new issue
Block a user