Home
last modified time | relevance | path

Searched refs:co_kwonlyargcount (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Objects/clinic/
Dcodeobject.c.h21 int co_posonlyargcount, int co_kwonlyargcount,
39 int co_kwonlyargcount = self->co_kwonlyargcount; in code_replace() local
95 co_kwonlyargcount = _PyLong_AsInt(args[2]); in code_replace()
96 if (co_kwonlyargcount == -1 && PyErr_Occurred()) { in code_replace()
251 …return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nloc… in code_replace()
/external/python/cpython3/Objects/
Dcodeobject.c231 co->co_kwonlyargcount = kwonlyargcount; in PyCode_NewWithPosOnlyArgs()
378 {"co_kwonlyargcount", T_INT, OFF(co_kwonlyargcount), READONLY},
639 int co_posonlyargcount, int co_kwonlyargcount, in code_replace_impl() argument
657 CHECK_INT_ARG(co_kwonlyargcount); in code_replace_impl()
667 co_posonlyargcount, co_kwonlyargcount, co_nlocals, in code_replace_impl()
673 co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals, in code_replace_impl()
851 eq = co->co_kwonlyargcount == cp->co_kwonlyargcount; in code_richcompare()
923 co->co_argcount ^ co->co_posonlyargcount ^ co->co_kwonlyargcount ^ in code_hash()
Dcall.c362 if (co->co_kwonlyargcount == 0 && nkwargs == 0 && in _PyFunction_Vectorcall()
/external/python/cpython3/Include/cpython/
Dcode.h22 int co_kwonlyargcount; /* #keyword only arguments */ member
/external/python/cpython3/Lib/test/
Dtest_keywordonlyarg.py132 self.assertEqual(2, foo.__code__.co_kwonlyargcount)
Dtest_code.py218 co.co_kwonlyargcount,
/external/libchrome/third_party/jinja2/
Ddebug.py278 code = CodeType(0, code.co_kwonlyargcount,
/external/python/cpython3/Lib/
Ddis.py161 lines.append("Kw-only arguments: %s" % co.co_kwonlyargcount)
Dinspect.py1079 nkwargs = co.co_kwonlyargcount
2174 keyword_only_count = func_code.co_kwonlyargcount
Dpdb.py1140 n = co.co_argcount + co.co_kwonlyargcount
/external/python/cpython3/Python/
Dceval.c3933 end = start + co->co_kwonlyargcount; in missing_arguments()
3964 for (i = co_argcount; i < co_argcount + co->co_kwonlyargcount; i++) { in too_many_positional()
4090 const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount; in _PyEval_EvalCode()
4247 if (co->co_kwonlyargcount > 0) { in _PyEval_EvalCode()
Dmarshal.c514 w_long(co->co_kwonlyargcount, p); in w_complex_object()
/external/python/cpython3/Doc/library/
Dinspect.rst181 | | co_kwonlyargcount | number of keyword only |
/external/python/cpython3/Doc/reference/
Ddatamodel.rst927 single: co_kwonlyargcount (code object attribute)
946 (including arguments with default values); :attr:`co_kwonlyargcount` is