Home
last modified time | relevance | path

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

/third_party/python/Objects/clinic/
Dcodeobject.c.h15 int kwonlyargcount, int nlocals, int stacksize, int flags,
27 int kwonlyargcount; in code_new() local
57 kwonlyargcount = _PyLong_AsInt(PyTuple_GET_ITEM(args, 2)); in code_new()
58 if (kwonlyargcount == -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
130 kwonlyargcount < 0 || nlocals < 0 || in PyCode_NewWithPosOnlyArgs()
186 if (argcount <= n_varnames && kwonlyargcount <= n_varnames) { in PyCode_NewWithPosOnlyArgs()
188 total_args = (Py_ssize_t)argcount + (Py_ssize_t)kwonlyargcount + in PyCode_NewWithPosOnlyArgs()
239 co->co_kwonlyargcount = kwonlyargcount; in PyCode_NewWithPosOnlyArgs()
275 PyCode_New(int argcount, int kwonlyargcount, in PyCode_New() argument
282 return PyCode_NewWithPosOnlyArgs(argcount, 0, kwonlyargcount, nlocals, in PyCode_New()
550 int kwonlyargcount, int nlocals, int stacksize, int flags, in code_new_impl() argument
565 kwonlyargcount, nlocals, stacksize, flags) < 0) { in code_new_impl()
583 if (kwonlyargcount < 0) { in code_new_impl()
[all …]
/third_party/python/Doc/c-api/
Dcode.rst36 .. c:function:: PyCodeObject* PyCode_New(int argcount, int kwonlyargcount, int nlocals, int stacksi…
43 …ct* PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwonlyargcount, int nlocals, …
/third_party/python/Python/
Dmarshal.c1306 int kwonlyargcount; in r_object() local
1335 kwonlyargcount = (int)r_long(p); in r_object()
1379 argcount, posonlyargcount, kwonlyargcount, in r_object()
Dcompile.c6880 int posorkeywordargcount, posonlyargcount, kwonlyargcount, maxdepth; in makecode() local
6921 kwonlyargcount = Py_SAFE_DOWNCAST(c->u->u_kwonlyargcount, Py_ssize_t, int); 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/data/
Drefcounts.dat240 PyCode_NewWithPosOnlyArgs:int:kwonlyargcount::
257 PyCode_New:int:kwonlyargcount::
/third_party/python/Misc/NEWS.d/
D3.5.0a1.rst3078 Add missing kwonlyargcount argument to ModuleFinder.replace_paths_in_code().
/third_party/python/Misc/
DHISTORY1560 - Issue #21707: Add missing kwonlyargcount argument to
10596 - Issue #12949: Document the kwonlyargcount argument for the PyCode_New