Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dinspect.py1212 varkw = None
1214 varkw = co.co_varnames[nargs]
1215 return Arguments(args + kwonlyargs, varargs, varkw)
1242 args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, ann = \
1247 return ArgSpec(args, varargs, varkw, defaults)
1299 varkw = None
1328 varkw = name
1341 return FullArgSpec(posonlyargs + args, varargs, varkw, defaults,
1354 args, varargs, varkw = getargs(frame.f_code)
1355 return ArgInfo(args, varargs, varkw, frame.f_locals)
[all …]
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,
Dturtle.py3897 args, varargs, varkw = inspect.getargs(ob.__code__)
3907 if varkw is not None:
3908 items1.append("**" + varkw)
3909 items2.append("**" + varkw)
/third_party/python/Lib/test/
Dtest_inspect.py348 args, varargs, varkw, locals = inspect.getargvalues(mod.fr)
351 self.assertEqual(varkw, None)
353 self.assertEqual(inspect.formatargvalues(args, varargs, varkw, locals),
357 args, varargs, varkw, locals = inspect.getargvalues(mod.fr.f_back)
360 self.assertEqual(varkw, 'h')
361 self.assertEqual(inspect.formatargvalues(args, varargs, varkw, locals),
859 args, varargs, varkw, defaults = inspect.getargspec(routine)
862 self.assertEqual(varkw, varkw_e)
866 self.assertEqual(inspect.formatargspec(args, varargs, varkw, defaults),
874 args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, ann = \
[all …]
/third_party/python/Doc/library/
Dinspect.rst959 ``FullArgSpec(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults,
965 *varkw* is the name of the ``**`` parameter or ``None`` if arbitrary
1014 .. function:: formatargspec(args[, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotation…
1019 The first seven arguments are (``args``, ``varargs``, ``varkw``,
1041 .. function:: formatargvalues(args[, varargs, varkw, locals, formatarg, formatvarargs, formatvarkw,…