Home
last modified time | relevance | path

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

/third_party/python/Objects/clinic/
Dcodeobject.c.h157 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/
Dcodeobject.c239 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/
Dcode.h22 int co_kwonlyargcount; /* #keyword only arguments */ member
/third_party/python/Lib/test/
Dtest_keywordonlyarg.py133 self.assertEqual(2, foo.__code__.co_kwonlyargcount)
Dtest_code.py218 co.co_kwonlyargcount,
/third_party/node/tools/inspector_protocol/jinja2/
Ddebug.py278 code = CodeType(0, code.co_kwonlyargcount,
/third_party/python/Lib/
Ddis.py161 lines.append("Kw-only arguments: %s" % co.co_kwonlyargcount)
Dinspect.py1202 nkwargs = co.co_kwonlyargcount
2301 keyword_only_count = func_code.co_kwonlyargcount
Dpdb.py1143 n = co.co_argcount + co.co_kwonlyargcount
/third_party/python/Python/
Dceval.c4638 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()
Dmarshal.c514 w_long(co->co_kwonlyargcount, p); in w_complex_object()
/third_party/python/Doc/library/
Dinspect.rst183 | | co_kwonlyargcount | number of keyword only |
/third_party/python/Doc/reference/
Ddatamodel.rst959 single: co_kwonlyargcount (code object attribute)
978 (including arguments with default values); :attr:`co_kwonlyargcount` is