Searched refs:co_kwonlyargcount (Results 1 – 13 of 13) sorted by relevance
/third_party/python/Objects/clinic/ |
D | codeobject.c.h | 157 int co_posonlyargcount, int co_kwonlyargcount, 175 int co_kwonlyargcount = self->co_kwonlyargcount; in code_replace() local 216 co_kwonlyargcount = _PyLong_AsInt(args[2]); in code_replace() 217 if (co_kwonlyargcount == -1 && PyErr_Occurred()) { in code_replace() 352 …return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nloc… in code_replace()
|
/third_party/python/Objects/ |
D | codeobject.c | 239 co->co_kwonlyargcount = kwonlyargcount; in PyCode_NewWithPosOnlyArgs() 386 {"co_kwonlyargcount", T_INT, OFF(co_kwonlyargcount), READONLY}, 724 int co_posonlyargcount, int co_kwonlyargcount, in code_replace_impl() argument 742 CHECK_INT_ARG(co_kwonlyargcount); in code_replace_impl() 752 co_posonlyargcount, co_kwonlyargcount, co_nlocals, in code_replace_impl() 758 co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals, in code_replace_impl() 936 eq = co->co_kwonlyargcount == cp->co_kwonlyargcount; in code_richcompare() 1008 co->co_argcount ^ co->co_posonlyargcount ^ co->co_kwonlyargcount ^ in code_hash()
|
/third_party/python/Include/cpython/ |
D | code.h | 22 int co_kwonlyargcount; /* #keyword only arguments */ member
|
/third_party/python/Lib/test/ |
D | test_keywordonlyarg.py | 133 self.assertEqual(2, foo.__code__.co_kwonlyargcount)
|
D | test_code.py | 218 co.co_kwonlyargcount,
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | debug.py | 278 code = CodeType(0, code.co_kwonlyargcount,
|
/third_party/python/Lib/ |
D | dis.py | 161 lines.append("Kw-only arguments: %s" % co.co_kwonlyargcount)
|
D | inspect.py | 1202 nkwargs = co.co_kwonlyargcount 2301 keyword_only_count = func_code.co_kwonlyargcount
|
D | pdb.py | 1143 n = co.co_argcount + co.co_kwonlyargcount
|
/third_party/python/Python/ |
D | ceval.c | 4638 end = start + co->co_kwonlyargcount; in missing_arguments() 4669 for (i = co_argcount; i < co_argcount + co->co_kwonlyargcount; i++) { in too_many_positional() 4787 const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount; in _PyEval_MakeFrameVector() 4948 if (co->co_kwonlyargcount > 0) { in _PyEval_MakeFrameVector()
|
D | marshal.c | 514 w_long(co->co_kwonlyargcount, p); in w_complex_object()
|
/third_party/python/Doc/library/ |
D | inspect.rst | 183 | | co_kwonlyargcount | number of keyword only |
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 959 single: co_kwonlyargcount (code object attribute) 978 (including arguments with default values); :attr:`co_kwonlyargcount` is
|