mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-37122: Make co->co_argcount represent the total number of positonal arguments in the code object (GH-13726)
This commit is contained in:
parent
059b9ea5ac
commit
cd74e66a8c
14 changed files with 74 additions and 88 deletions
|
@ -42,6 +42,8 @@ bound into a function.
|
|||
|
||||
.. versionchanged:: 3.8
|
||||
An extra parameter is required (*posonlyargcount*) to support :PEP:`570`.
|
||||
The first parameter (*argcount*) now represents the total number of positional arguments,
|
||||
including positional-only.
|
||||
|
||||
.. audit-event:: code.__new__ "code filename name argcount kwonlyargcount nlocals stacksize flags"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue