mirror of
https://github.com/python/cpython.git
synced 2024-12-15 12:54:31 +08:00
Issue #12949: Document the kwonlyargcount argument for the PyCode_New C API function.
This commit is contained in:
commit
2396c0a28f
@ -35,7 +35,7 @@ bound into a function.
|
|||||||
|
|
||||||
Return the number of free variables in *co*.
|
Return the number of free variables in *co*.
|
||||||
|
|
||||||
.. c:function:: PyCodeObject *PyCode_New(int argcount, int nlocals, int stacksize, int flags, PyObject *code, PyObject *consts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnotab)
|
.. c:function:: PyCodeObject *PyCode_New(int argcount, int kwonlyargcount, int nlocals, int stacksize, int flags, PyObject *code, PyObject *consts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnotab)
|
||||||
|
|
||||||
Return a new code object. If you need a dummy code object to
|
Return a new code object. If you need a dummy code object to
|
||||||
create a frame, use :c:func:`PyCode_NewEmpty` instead. Calling
|
create a frame, use :c:func:`PyCode_NewEmpty` instead. Calling
|
||||||
|
@ -2100,6 +2100,9 @@ C-API
|
|||||||
Documentation
|
Documentation
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
- Issue #12949: Document the kwonlyargcount argument for the PyCode_New
|
||||||
|
C API function.
|
||||||
|
|
||||||
- Issue #13513: Fix io.IOBase documentation to correctly link to the
|
- Issue #13513: Fix io.IOBase documentation to correctly link to the
|
||||||
io.IOBase.readline method instead of the readline module.
|
io.IOBase.readline method instead of the readline module.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user