stdlib: Add defaults for positional-only parameters (#9655)

This commit is contained in:
Alex Waygood
2023-02-01 21:44:08 +00:00
committed by GitHub
parent 35172c7aab
commit 1d7dda7fa1
30 changed files with 159 additions and 155 deletions

View File

@@ -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]