mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -49,7 +49,7 @@ 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 = ...) -> int: ...
|
||||
def stack_effect(__opcode: int, __oparg: int | None = ..., *, jump: bool | None = None) -> int: ...
|
||||
|
||||
else:
|
||||
def stack_effect(__opcode: int, __oparg: int | None = ...) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user