Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dcodeobject.c194 co->co_kwonlyargcount = kwonlyargcount; in PyCode_New()
276 {"co_kwonlyargcount", T_INT, OFF(co_kwonlyargcount), READONLY},
642 eq = co->co_kwonlyargcount == cp->co_kwonlyargcount; in code_richcompare()
714 co->co_argcount ^ co->co_kwonlyargcount ^ in code_hash()
Dcall.c316 if (co->co_kwonlyargcount == 0 && in _PyFunction_FastCallDict()
404 if (co->co_kwonlyargcount == 0 && nkwargs == 0 && in _PyFunction_FastCallKeywords()
/external/python/cpython3/Include/
Dcode.h24 int co_kwonlyargcount; /* #keyword only arguments */ member
/external/python/cpython3/Lib/test/
Dtest_keywordonlyarg.py132 self.assertEqual(2, foo.__code__.co_kwonlyargcount)
Dtest_code.py160 c.co_argcount, c.co_kwonlyargcount, c.co_nlocals,
/external/python/cpython3/Lib/
Dtypes.py259 co.co_argcount, co.co_kwonlyargcount, co.co_nlocals,
Ddis.py151 lines.append("Kw-only arguments: %s" % co.co_kwonlyargcount)
Dmodulefinder.py562 return types.CodeType(co.co_argcount, co.co_kwonlyargcount,
Dinspect.py1038 nkwargs = co.co_kwonlyargcount
2136 keyword_only_count = func_code.co_kwonlyargcount
/external/libchrome/third_party/jinja2/
Ddebug.py278 code = CodeType(0, code.co_kwonlyargcount,
/external/python/cpython3/Python/
Dceval.c3585 end = start + co->co_kwonlyargcount; in missing_arguments()
3615 for (i = co_argcount; i < co_argcount + co->co_kwonlyargcount; i++) { in too_many_positional()
3678 const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount; in _PyEval_EvalCodeWithName()
3834 if (co->co_kwonlyargcount > 0) { in _PyEval_EvalCodeWithName()
Dmarshal.c552 w_long(co->co_kwonlyargcount, p); in w_complex_object()
/external/python/cpython3/Lib/test/test_import/
D__init__.py608 code = type(code)(code.co_argcount, code.co_kwonlyargcount,
/external/python/cpython3/Doc/library/
Dinspect.rst172 | | co_kwonlyargcount | number of keyword only |