| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,7 +33,7 @@ bound into a function. | |||
| 33 | 33 | ||
| 34 | 34 | Return the number of free variables in *co*. | |
| 35 | 35 | ||
| 36 | - .. c:function:: PyCodeObject* PyUnstable_Code_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 *linetable, PyObject *exceptiontable) | ||
| 36 | + .. c:function:: PyCodeObject* PyUnstable_Code_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, PyObject *qualname, int firstlineno, PyObject *linetable, PyObject *exceptiontable) | ||
| 37 | 37 | ||
| 38 | 38 | Return a new code object. If you need a dummy code object to create a frame, | |
| 39 | 39 | use :c:func:`PyCode_NewEmpty` instead. | |
@@ -46,7 +46,7 @@ bound into a function. | |||
| 46 | 46 | execution or VM crashes. Use this function only with extreme care. | |
| 47 | 47 | ||
| 48 | 48 | .. versionchanged:: 3.11 | |
| 49 | - Added ``exceptiontable`` parameter. | ||
| 49 | + Added ``qualname`` and ``exceptiontable`` parameters. | ||
| 50 | 50 | ||
| 51 | 51 | .. index:: single: PyCode_New | |
| 52 | 52 | ||
@@ -56,7 +56,7 @@ bound into a function. | |||
| 56 | 56 | The old name is deprecated, but will remain available until the | |
| 57 | 57 | signature changes again. | |
| 58 | 58 | ||
| 59 | - .. c:function:: PyCodeObject* PyUnstable_Code_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 *linetable, PyObject *exceptiontable) | ||
| 59 | + .. c:function:: PyCodeObject* PyUnstable_Code_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, PyObject *qualname, int firstlineno, PyObject *linetable, PyObject *exceptiontable) | ||
| 60 | 60 | ||
| 61 | 61 | Similar to :c:func:`PyUnstable_Code_New`, but with an extra "posonlyargcount" for positional-only arguments. | |
| 62 | 62 | The same caveats that apply to ``PyUnstable_Code_New`` also apply to this function. | |
@@ -66,7 +66,7 @@ bound into a function. | |||
| 66 | 66 | .. versionadded:: 3.8 as ``PyCode_NewWithPosOnlyArgs`` | |
| 67 | 67 | ||
| 68 | 68 | .. versionchanged:: 3.11 | |
| 69 | - Added ``exceptiontable`` parameter. | ||
| 69 | + Added ``qualname`` and ``exceptiontable`` parameters. | ||
| 70 | 70 | ||
| 71 | 71 | .. versionchanged:: 3.12 | |
| 72 | 72 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments