Searched refs:posonlyargcount (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Objects/clinic/ |
D | codeobject.c.h | 14 code_new_impl(PyTypeObject *type, int argcount, int posonlyargcount, 26 int posonlyargcount; in code_new() local 53 posonlyargcount = _PyLong_AsInt(PyTuple_GET_ITEM(args, 1)); in code_new() 54 if (posonlyargcount == -1 && PyErr_Occurred()) { in code_new() 135 …return_value = code_new_impl(type, argcount, posonlyargcount, kwonlyargcount, nlocals, stacksize, … in code_new()
|
/third_party/python/Objects/ |
D | codeobject.c | 117 PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwonlyargcount, in PyCode_NewWithPosOnlyArgs() argument 129 if (argcount < posonlyargcount || posonlyargcount < 0 || in PyCode_NewWithPosOnlyArgs() 238 co->co_posonlyargcount = posonlyargcount; in PyCode_NewWithPosOnlyArgs() 549 code_new_impl(PyTypeObject *type, int argcount, int posonlyargcount, in code_new_impl() argument 564 code, filename, name, argcount, posonlyargcount, in code_new_impl() 576 if (posonlyargcount < 0) { in code_new_impl() 615 co = (PyObject *)PyCode_NewWithPosOnlyArgs(argcount, posonlyargcount, in code_new_impl()
|
/third_party/python/Doc/c-api/ |
D | code.rst | 43 .. c:function:: PyCodeObject* PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwon… 45 …Similar to :c:func:`PyCode_New`, but with an extra "posonlyargcount" for positional-only arguments.
|
/third_party/python/Python/ |
D | marshal.c | 1305 int posonlyargcount; in r_object() local 1331 posonlyargcount = (int)r_long(p); in r_object() 1379 argcount, posonlyargcount, kwonlyargcount, in r_object()
|
D | compile.c | 6880 int posorkeywordargcount, posonlyargcount, kwonlyargcount, maxdepth; in makecode() local 6919 posonlyargcount = Py_SAFE_DOWNCAST(c->u->u_posonlyargcount, Py_ssize_t, int); in makecode() 6934 co = PyCode_NewWithPosOnlyArgs(posonlyargcount+posorkeywordargcount, in makecode() 6935 posonlyargcount, kwonlyargcount, nlocals_int, in makecode()
|
/third_party/python/Doc/library/ |
D | types.rst | 153 ….. audit-event:: code.__new__ code,filename,name,argcount,posonlyargcount,kwonlyargcount,nlocals,s…
|
/third_party/python/Doc/whatsnew/ |
D | 3.8.rst | 1622 code objects like :c:func:`PyCode_New`, but with an extra *posonlyargcount* 2001 constructor (*posonlyargcount*) to support positional-only arguments defined
|
/third_party/python/Doc/data/ |
D | refcounts.dat | 239 PyCode_NewWithPosOnlyArgs:int:posonlyargcount::
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a1.rst | 5719 objects like :c:func:`PyCode_New`, but with an extra *posonlyargcount*
|