Home
last modified time | relevance | path

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

12

/external/python/cpython2/Lib/
Dinspect.py806 varkw = None
808 varkw = co.co_varnames[nargs]
809 return Arguments(args, varargs, varkw)
826 args, varargs, varkw = getargs(func.func_code)
827 return ArgSpec(args, varargs, varkw, func.func_defaults)
838 args, varargs, varkw = getargs(frame.f_code)
839 return ArgInfo(args, varargs, varkw, frame.f_locals)
854 def formatargspec(args, varargs=None, varkw=None, defaults=None, argument
876 if varkw is not None:
877 specs.append(formatvarkw(varkw))
[all …]
DDocXMLRPCServer.py78 args, varargs, varkw, defaults = inspect.getargspec(object.im_func)
84 varkw,
89 args, varargs, varkw, defaults = inspect.getargspec(object)
91 args, varargs, varkw, defaults, formatvalue=self.formatvalue)
Dcgitb.py125 args, varargs, varkw, locals = inspect.getargvalues(frame)
129 inspect.formatargvalues(args, varargs, varkw, locals,
209 args, varargs, varkw, locals = inspect.getargvalues(frame)
213 inspect.formatargvalues(args, varargs, varkw, locals,
Dpydoc.py936 args, varargs, varkw, defaults = inspect.getargspec(object)
938 args, varargs, varkw, defaults, formatvalue=self.formatvalue)
1321 args, varargs, varkw, defaults = inspect.getargspec(object)
1323 args, varargs, varkw, defaults, formatvalue=self.formatvalue)
/external/tensorflow/tensorflow/python/util/
Dtf_inspect_test.py317 varkw=None,
331 varkw=None,
346 varkw=None,
354 varkw=None,
375 varkw=None,
393 varkw=None,
411 varkw=None,
432 varkw='kwarg',
450 varkw=None,
469 varkw=None,
[all …]
Ddeprecation.py435 is_kwargs_deprecated = arg_spec.varkw in deprecated_arg_names
439 known_args = arg_spec.args + [arg_spec.varargs, arg_spec.varkw]
489 invalid_args.append(arg_spec.varkw)
Dtf_inspect.py46 varkw=argspec.keywords,
75 keywords=fullargspecs.varkw,
Dfunction_utils.py83 return tf_inspect.getfullargspec(fn).varkw is not None
/external/tensorflow/tensorflow/tools/docs/
Dparser_test.py581 varkw=None,
592 varkw=None,
604 varkw=None,
615 varkw=None,
627 varkw=None,
638 varkw=None,
649 varkw=None,
662 varkw='my_kwargs',
Dparser.py691 varkw=argspec.varkw,
801 if argspec.varkw:
802 args_list.append('**' + argspec.varkw)
/external/python/cpython3/Lib/
Dinspect.py1023 args, varargs, kwonlyargs, varkw = _getfullargs(co)
1024 return Arguments(args + kwonlyargs, varargs, varkw)
1048 varkw = None
1050 varkw = co.co_varnames[nargs]
1051 return args, varargs, kwonlyargs, varkw
1079 args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, ann = \
1084 return ArgSpec(args, varargs, varkw, defaults)
1136 varkw = None
1163 varkw = name
1176 return FullArgSpec(args, varargs, varkw, defaults,
[all …]
Dcgitb.py124 args, varargs, varkw, locals = inspect.getargvalues(frame)
128 inspect.formatargvalues(args, varargs, varkw, locals,
207 args, varargs, varkw, locals = inspect.getargvalues(frame)
211 inspect.formatargvalues(args, varargs, varkw, locals,
Dturtle.py3895 args, varargs, varkw = inspect.getargs(ob.__code__)
3905 if varkw is not None:
3906 items1.append("**" + varkw)
3907 items2.append("**" + varkw)
/external/python/cpython2/Lib/test/
Dtest_inspect.py184 args, varargs, varkw, locals = inspect.getargvalues(mod.fr)
187 self.assertEqual(varkw, None)
189 self.assertEqual(inspect.formatargvalues(args, varargs, varkw, locals),
193 args, varargs, varkw, locals = inspect.getargvalues(mod.fr.f_back)
196 self.assertEqual(varkw, 'h')
197 self.assertEqual(inspect.formatargvalues(args, varargs, varkw, locals),
499 args, varargs, varkw, defaults = inspect.getargspec(routine)
502 self.assertEqual(varkw, varkw_e)
505 self.assertEqual(inspect.formatargspec(args, varargs, varkw, defaults),
/external/tensorflow/tensorflow/python/ops/
Dcustom_gradient.py198 grad_argspec.varkw)
266 not grad_argspec.varkw):
/external/tensorflow/tensorflow/python/saved_model/
Dfunction_deserialization.py114 varkw=typeless_fullargspec.varkw,
/external/tensorflow/tensorflow/examples/saved_model/integration_tests/
Dexport_mnist_cnn.py92 varargs=None, varkw=None,
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_dispatch.py508 if argspec.varkw:
509 arg_names.append('**' + argspec.varkw)
/external/python/cpython3/Lib/test/
Dtest_inspect.py321 args, varargs, varkw, locals = inspect.getargvalues(mod.fr)
324 self.assertEqual(varkw, None)
326 self.assertEqual(inspect.formatargvalues(args, varargs, varkw, locals),
330 args, varargs, varkw, locals = inspect.getargvalues(mod.fr.f_back)
333 self.assertEqual(varkw, 'h')
334 self.assertEqual(inspect.formatargvalues(args, varargs, varkw, locals),
719 args, varargs, varkw, defaults = inspect.getargspec(routine)
722 self.assertEqual(varkw, varkw_e)
726 self.assertEqual(inspect.formatargspec(args, varargs, varkw, defaults),
733 args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, ann = \
[all …]
/external/tensorflow/tensorflow/python/autograph/pyct/
Dast_util.py348 if arg_spec.varkw != self._arg_name(node.args.kwarg):
/external/tensorflow/tensorflow/python/keras/utils/
Dgeneric_utils.py304 if accept_all and arg_spec.varkw is not None:
/external/python/cpython3/Doc/library/
Dinspect.rst894 ``FullArgSpec(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults,
900 *varkw* is the name of the ``**`` parameter or ``None`` if arbitrary
949 .. function:: formatargspec(args[, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotation…
954 The first seven arguments are (``args``, ``varargs``, ``varkw``,
976 .. function:: formatargvalues(args[, varargs, varkw, locals, formatarg, formatvarargs, formatvarkw,…
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer.py1585 if call_arg_spec.varkw is not None:
1586 var_kwargs = bound_args.pop(call_arg_spec.varkw)
/external/python/cpython2/Doc/library/
Dinspect.rst504 .. function:: formatargspec(args[, varargs, varkw, defaults, formatarg, formatvarargs, formatvarkw,…
511 .. function:: formatargvalues(args[, varargs, varkw, locals, formatarg, formatvarargs, formatvarkw,…
/external/pdfium/third_party/pymock/
Dmock.py174 regargs, varargs, varkw, defaults, kwonly, kwonlydef, ann = argspec
191 regargs, varargs, varkw, defaults,

12