Home
last modified time | relevance | path

Searched refs:co_argcount (Results 1 – 25 of 1166) sorted by relevance

12345678910>>...47

/dports/net-p2p/bazarr/bazarr-1.0.2/libs/js2py/utils/
H A Dinjector.py24 fargs = fcode.co_varnames[fcode.co_argcount - 2:fcode.co_argcount]
40 co_argcount = code_obj.co_argcount # Argument count
66 co_varnames[:co_argcount] + new_locals + co_varnames[co_argcount:])
70 range1, range2 = xrange(co_argcount), xrange(co_argcount, len(co_varnames))
102 args = (co_argcount + new_locals_len,
110 args = (co_argcount + new_locals_len, 0,
121 co_argcount=co_argcount + new_locals_len,
/dports/devel/py-Js2Py/Js2Py-0.71/js2py/utils/
H A Dinjector.py24 fargs = fcode.co_varnames[fcode.co_argcount - 2:fcode.co_argcount]
40 co_argcount = code_obj.co_argcount # Argument count
66 co_varnames[:co_argcount] + new_locals + co_varnames[co_argcount:])
70 range1, range2 = xrange(co_argcount), xrange(co_argcount, len(co_varnames))
102 args = (co_argcount + new_locals_len,
110 args = (co_argcount + new_locals_len, 0,
121 co_argcount=co_argcount + new_locals_len,
/dports/devel/py-xdis/xdis-5.0.13/xdis/codetype/
H A D__init__.py49 code.co_argcount,
67 code.co_argcount,
87 code.co_argcount,
107 code.co_argcount,
119 code.co_argcount,
167 co_argcount, argument
186 co_argcount,
H A Dcode20.py44 co_argcount, argument
60 co_argcount,
95 code.co_argcount,
121 co_argcount=0, argument
136 self.co_argcount = co_argcount
H A Dcode38.py65 co_argcount, argument
83 co_argcount,
119 code.co_argcount,
H A Dcode13.py59 co_argcount, argument
69 self.co_argcount = co_argcount
H A Dcode30.py44 co_argcount, argument
61 co_argcount,
144 code.co_argcount,
/dports/databases/py-sqlite3/Python-3.8.12/Objects/clinic/
H A Dcodeobject.c.h20 code_replace_impl(PyCodeObject *self, int co_argcount,
37 int co_argcount = self->co_argcount; in code_replace() local
67 co_argcount = _PyLong_AsInt(args[0]); in code_replace()
68 if (co_argcount == -1 && PyErr_Occurred()) { in code_replace()
251 …return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nloc… in code_replace()
/dports/databases/py-gdbm/Python-3.8.12/Objects/clinic/
H A Dcodeobject.c.h20 code_replace_impl(PyCodeObject *self, int co_argcount,
37 int co_argcount = self->co_argcount; in code_replace() local
67 co_argcount = _PyLong_AsInt(args[0]); in code_replace()
68 if (co_argcount == -1 && PyErr_Occurred()) { in code_replace()
251 …return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nloc… in code_replace()
/dports/lang/python-tools/Python-3.8.12/Objects/clinic/
H A Dcodeobject.c.h20 code_replace_impl(PyCodeObject *self, int co_argcount,
37 int co_argcount = self->co_argcount; in code_replace() local
67 co_argcount = _PyLong_AsInt(args[0]); in code_replace()
68 if (co_argcount == -1 && PyErr_Occurred()) { in code_replace()
251 …return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nloc… in code_replace()
/dports/lang/python38/Python-3.8.12/Objects/clinic/
H A Dcodeobject.c.h20 code_replace_impl(PyCodeObject *self, int co_argcount,
37 int co_argcount = self->co_argcount; in code_replace() local
67 co_argcount = _PyLong_AsInt(args[0]); in code_replace()
68 if (co_argcount == -1 && PyErr_Occurred()) { in code_replace()
251 …return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nloc… in code_replace()
/dports/lang/python39/Python-3.9.9/Objects/clinic/
H A Dcodeobject.c.h20 code_replace_impl(PyCodeObject *self, int co_argcount,
37 int co_argcount = self->co_argcount; in code_replace() local
67 co_argcount = _PyLong_AsInt(args[0]); in code_replace()
68 if (co_argcount == -1 && PyErr_Occurred()) { in code_replace()
251 …return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nloc… in code_replace()
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Objects/clinic/
H A Dcodeobject.c.h20 code_replace_impl(PyCodeObject *self, int co_argcount,
37 int co_argcount = self->co_argcount; in code_replace() local
67 co_argcount = _PyLong_AsInt(args[0]); in code_replace()
68 if (co_argcount == -1 && PyErr_Occurred()) { in code_replace()
251 …return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nloc… in code_replace()
/dports/devel/nuitka/Nuitka-0.6.17/nuitka/nodes/
H A DCodeObjectSpecs.py59 co_argcount, argument
99 self.co_argcount = int(co_argcount)
134 "co_argcount": self.co_argcount,
192 return self.co_argcount
/dports/games/py-fife/fifengine-0.4.2/engine/python/fife/extensions/pychan/
H A Dtools.py52 varnames = code.co_varnames[1:code.co_argcount]#ditch bound instance
55 varnames = code.co_varnames[0:code.co_argcount]
60 varnames = code.co_varnames[1:code.co_argcount]#ditch bound instance
63 varnames = code.co_varnames[0:code.co_argcount]
/dports/www/uwsgi/uwsgi-2.0.20/plugins/python/
H A Dprofiler.c40 …PyString_AsString(frame->f_code->co_name), frame->f_code->co_argcount, frame->f_code->co_stacksize… in uwsgi_python_profiler_call()
50 PyEval_GetFuncName(arg), frame->f_code->co_argcount, frame->f_code->co_stacksize); in uwsgi_python_profiler_call()
71 …Frame_GetLineNumber(frame), PyString_AsString(frame->f_code->co_name), frame->f_code->co_argcount); in uwsgi_python_tracer()
/dports/lang/cython/Cython-0.29.24/tests/run/
H A Dcyfunction.pyx207 >>> codeof(no_arg).co_argcount
209 >>> codeof(cy_no_arg).co_argcount
224 >>> codeof(one_arg).co_argcount
226 >>> codeof(cy_one_arg).co_argcount
241 >>> codeof(two_args).co_argcount
243 >>> codeof(cy_two_args).co_argcount
254 >>> codeof(default_args).co_argcount
256 >>> codeof(cy_default_args).co_argcount
/dports/lang/python310/Python-3.10.1/Objects/clinic/
H A Dcodeobject.c.h156 code_replace_impl(PyCodeObject *self, int co_argcount,
173 int co_argcount = self->co_argcount; in code_replace() local
198 co_argcount = _PyLong_AsInt(args[0]); in code_replace()
199 if (co_argcount == -1 && PyErr_Occurred()) { in code_replace()
352 …return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nloc… in code_replace()
/dports/www/py-pyramid_rpc/pyramid_rpc-0.8/pyramid_rpc/
H A Dmapper.py26 names = c.co_varnames[1:c.co_argcount]
30 names = c.co_varnames[:c.co_argcount]
50 names = c.co_varnames[1:c.co_argcount]
54 names = c.co_varnames[:c.co_argcount]
/dports/lang/cython-devel/cython-2b1e743/tests/run/
H A Dcyfunction.pyx207 >>> codeof(no_arg).co_argcount
209 >>> codeof(cy_no_arg).co_argcount
224 >>> codeof(one_arg).co_argcount
226 >>> codeof(cy_one_arg).co_argcount
241 >>> codeof(two_args).co_argcount
243 >>> codeof(cy_two_args).co_argcount
254 >>> codeof(default_args).co_argcount
256 >>> codeof(cy_default_args).co_argcount
/dports/games/gemrb/gemrb-0.9.0/gemrb/plugins/GUIScript/
H A DPythonCallbacks.h108 PyObject* co_argcount = PyObject_GetAttrString(func_code, "co_argcount"); in GetArgs() local
109 const long count = PyInt_AsLong(co_argcount); in GetArgs()
116 Py_DECREF(co_argcount); in GetArgs()
/dports/lang/python311/Python-3.11.0a3/Objects/clinic/
H A Dcodeobject.c.h180 code_replace_impl(PyCodeObject *self, int co_argcount,
199 int co_argcount = self->co_argcount; in code_replace() local
228 co_argcount = _PyLong_AsInt(args[0]); in code_replace()
229 if (co_argcount == -1 && PyErr_Occurred()) { in code_replace()
417 …return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nloc… in code_replace()
/dports/devel/py-robotframework/robotframework-3.1.2/src/robot/running/
H A Drunkwregister.py59 return method.__code__.co_argcount - 1
61 return method.__code__.co_argcount
/dports/devel/py-zope.publisher/zope.publisher-3.13.1/src/zope/publisher/
H A Dpublish.py69 names = code.co_varnames[wrapperCount:code.co_argcount]
82 code.co_argcount,
83 (code.co_argcount > 1 and 's ' or ' '),
/dports/devel/py-xdis/xdis-5.0.13/pytest/
H A Dtodo-test.py26 opt_fn_code = types.CodeType(fn_code.co_argcount,
45 c1 = types.CodeType(c.co_argcount,

12345678910>>...47