mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
This commit is contained in:
parent
4a686504eb
commit
2085bd0877
34 changed files with 126 additions and 261 deletions
|
@ -1022,7 +1022,7 @@ Classes and functions
|
|||
metatype is in use, cls will be the first element of the tuple.
|
||||
|
||||
|
||||
.. function:: getcallargs(func, *args, **kwds)
|
||||
.. function:: getcallargs(func, /, *args, **kwds)
|
||||
|
||||
Bind the *args* and *kwds* to the argument names of the Python function or
|
||||
method *func*, as if it was called with them. For bound methods, bind also the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue