Home
last modified time | relevance | path

Searched refs:posonlyargcount (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Objects/clinic/
Dcodeobject.c.h14 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/
Dcodeobject.c117 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/
Dcode.rst43 .. 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/
Dmarshal.c1305 int posonlyargcount; in r_object() local
1331 posonlyargcount = (int)r_long(p); in r_object()
1379 argcount, posonlyargcount, kwonlyargcount, in r_object()
Dcompile.c6880 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/
Dtypes.rst153 ….. audit-event:: code.__new__ code,filename,name,argcount,posonlyargcount,kwonlyargcount,nlocals,s…
/third_party/python/Doc/whatsnew/
D3.8.rst1622 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/
Drefcounts.dat239 PyCode_NewWithPosOnlyArgs:int:posonlyargcount::
/third_party/python/Misc/NEWS.d/
D3.9.0a1.rst5719 objects like :c:func:`PyCode_New`, but with an extra *posonlyargcount*