Home
last modified time | relevance | path

Searched refs:varkw (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/
Dcgitb.py124 args, varargs, varkw, locals = inspect.getargvalues(frame)
129 call += inspect.formatargvalues(args, varargs, varkw, locals,
208 args, varargs, varkw, locals = inspect.getargvalues(frame)
213 call += inspect.formatargvalues(args, varargs, varkw, locals,
Dinspect.py1089 varkw = None
1091 varkw = co.co_varnames[nargs]
1092 return Arguments(args + kwonlyargs, varargs, varkw)
1119 args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, ann = \
1124 return ArgSpec(args, varargs, varkw, defaults)
1175 varkw = None
1204 varkw = name
1217 return FullArgSpec(posonlyargs + args, varargs, varkw, defaults,
1230 args, varargs, varkw = getargs(frame.f_code)
1231 return ArgInfo(args, varargs, varkw, frame.f_locals)
[all …]
Dturtle.py3896 args, varargs, varkw = inspect.getargs(ob.__code__)
3906 if varkw is not None:
3907 items1.append("**" + varkw)
3908 items2.append("**" + varkw)
/third_party/python/Lib/test/
Dtest_inspect.py343 args, varargs, varkw, locals = inspect.getargvalues(mod.fr)
346 self.assertEqual(varkw, None)
348 self.assertEqual(inspect.formatargvalues(args, varargs, varkw, locals),
352 args, varargs, varkw, locals = inspect.getargvalues(mod.fr.f_back)
355 self.assertEqual(varkw, 'h')
356 self.assertEqual(inspect.formatargvalues(args, varargs, varkw, locals),
834 args, varargs, varkw, defaults = inspect.getargspec(routine)
837 self.assertEqual(varkw, varkw_e)
841 self.assertEqual(inspect.formatargspec(args, varargs, varkw, defaults),
849 args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, ann = \
[all …]
/third_party/python/Doc/library/
Dinspect.rst934 ``FullArgSpec(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults,
940 *varkw* is the name of the ``**`` parameter or ``None`` if arbitrary
989 .. function:: formatargspec(args[, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotation…
994 The first seven arguments are (``args``, ``varargs``, ``varkw``,
1016 .. function:: formatargvalues(args[, varargs, varkw, locals, formatarg, formatvarargs, formatvarkw,…