Searched refs:co_kwonlyargcount (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython3/Objects/ |
D | codeobject.c | 194 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()
|
D | call.c | 316 if (co->co_kwonlyargcount == 0 && in _PyFunction_FastCallDict() 404 if (co->co_kwonlyargcount == 0 && nkwargs == 0 && in _PyFunction_FastCallKeywords()
|
/external/python/cpython3/Include/ |
D | code.h | 24 int co_kwonlyargcount; /* #keyword only arguments */ member
|
/external/python/cpython3/Lib/test/ |
D | test_keywordonlyarg.py | 132 self.assertEqual(2, foo.__code__.co_kwonlyargcount)
|
D | test_code.py | 160 c.co_argcount, c.co_kwonlyargcount, c.co_nlocals,
|
/external/python/cpython3/Lib/ |
D | types.py | 259 co.co_argcount, co.co_kwonlyargcount, co.co_nlocals,
|
D | dis.py | 151 lines.append("Kw-only arguments: %s" % co.co_kwonlyargcount)
|
D | modulefinder.py | 562 return types.CodeType(co.co_argcount, co.co_kwonlyargcount,
|
D | inspect.py | 1038 nkwargs = co.co_kwonlyargcount 2136 keyword_only_count = func_code.co_kwonlyargcount
|
/external/libchrome/third_party/jinja2/ |
D | debug.py | 278 code = CodeType(0, code.co_kwonlyargcount,
|
/external/python/cpython3/Python/ |
D | ceval.c | 3585 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()
|
D | marshal.c | 552 w_long(co->co_kwonlyargcount, p); in w_complex_object()
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 608 code = type(code)(code.co_argcount, code.co_kwonlyargcount,
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 172 | | co_kwonlyargcount | number of keyword only |
|