diff options
Diffstat (limited to 'Doc/c-api/code.rst')
-rw-r--r-- | Doc/c-api/code.rst | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Doc/c-api/code.rst b/Doc/c-api/code.rst index 3c4f66923d..45a6b4a753 100644 --- a/Doc/c-api/code.rst +++ b/Doc/c-api/code.rst @@ -40,8 +40,6 @@ bound into a function. can bind you to a precise Python version since the definition of the bytecode changes often. - .. audit-event:: code.__new__ code,filename,name,argcount,posonlyargcount,kwonlyargcount,nlocals,stacksize,flags c.PyCode_New - .. c:function:: PyCodeObject* PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, 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) Similar to :c:func:`PyCode_New`, but with an extra "posonlyargcount" for positonal-only arguments. |