mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-10 07:15:50 +08:00
opcode, dis: add jump parameter to stack_effect (#3618)
This commit is contained in:
1 parent
160b093eb3
commit
137ff45282
1 file changed
+3
-1
@@ -16,7 +16,9 @@ opmap: Dict[str, int]
|
||||
HAVE_ARGUMENT: int
|
||||
EXTENDED_ARG: int
|
||||
|
||||
if sys.version_info >= (3, 4):
|
||||
if sys.version_info >= (3, 8):
|
||||
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: ...
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
|
||||
Reference in new issue
Block a user