Searched refs:co_kwonlyargcount (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython3/Objects/clinic/ |
D | codeobject.c.h | 21 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/ |
D | codeobject.c | 231 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()
|
D | call.c | 362 if (co->co_kwonlyargcount == 0 && nkwargs == 0 && in _PyFunction_Vectorcall()
|
/external/python/cpython3/Include/cpython/ |
D | code.h | 22 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 | 218 co.co_kwonlyargcount,
|
/external/libchrome/third_party/jinja2/ |
D | debug.py | 278 code = CodeType(0, code.co_kwonlyargcount,
|
/external/python/cpython3/Lib/ |
D | dis.py | 161 lines.append("Kw-only arguments: %s" % co.co_kwonlyargcount)
|
D | inspect.py | 1079 nkwargs = co.co_kwonlyargcount 2174 keyword_only_count = func_code.co_kwonlyargcount
|
D | pdb.py | 1140 n = co.co_argcount + co.co_kwonlyargcount
|
/external/python/cpython3/Python/ |
D | ceval.c | 3933 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()
|
D | marshal.c | 514 w_long(co->co_kwonlyargcount, p); in w_complex_object()
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 181 | | co_kwonlyargcount | number of keyword only |
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 927 single: co_kwonlyargcount (code object attribute) 946 (including arguments with default values); :attr:`co_kwonlyargcount` is
|