HomeSort by relevance Sort by last modified time
    Searched refs:argspec (Results 1 - 25 of 33) sorted by null

1 2

  /external/python/cpython3/Lib/idlelib/
calltips.py 75 argspec = self.fetch_tip(expression)
76 if not argspec:
79 self.active_calltip.showtip(argspec, sur_paren[0], sur_paren[1])
136 argspec = ""
140 return argspec
148 argspec = inspect.formatargspec(*inspect.getfullargspec(fob))
151 argspec = _first_param.sub("", argspec)
153 lines = (textwrap.wrap(argspec, _MAX_COLS, subsequent_indent=_INDENT)
154 if len(argspec) > _MAX_COLS else [argspec] if argspec else []
    [all...]
  /external/python/cpython2/Lib/idlelib/
CallTips.py 148 argspec = ""
155 return argspec
196 argspec = ", ".join(items)
197 argspec = "(%s)" % re.sub("(?<!\d)\.\d+", "<tuple>", argspec)
199 lines = (textwrap.wrap(argspec, _MAX_COLS, subsequent_indent=_INDENT)
200 if len(argspec) > _MAX_COLS else [argspec] if argspec else [])
214 argspec = '\n'.join(lines
    [all...]
  /external/tensorflow/tensorflow/python/util/
tf_inspect.py 24 ArgSpec = _inspect.ArgSpec
39 The `ArgSpec` that describes the signature of the outermost decorator that
56 The `FullArgSpec` (`ArgSpec` in Python 2) that describes the signature of
80 `getcallargs` will use the argspec from the outermost decorator that provides
81 it. If no attached decorators modify argspec, the final unwrapped target's
82 argspec will be used.
84 argspec = getargspec(func)
89 remaining_positionals = [arg for arg in argspec.args if arg not in call_args]
91 default_count = 0 if not argspec.defaults else len(argspec.defaults
    [all...]
tf_inspect_test.py 73 argspec = tf_inspect.getargspec(test_decorated_function_with_defaults)
74 self.assertEqual(['a', 'b', 'c'], argspec.args)
75 self.assertEqual((2, 'Hello'), argspec.defaults)
78 argspec = tf_inspect.ArgSpec(
85 argspec)
86 self.assertEqual(argspec, tf_inspect.getargspec(decorator))
89 argspec = tf_inspect.ArgSpec(
96 '', argspec)
    [all...]
tf_contextlib_test.py 86 argspec = tf_inspect.getargspec(test_params_and_defaults)
87 self.assertEqual(['a', 'b', 'c', 'd'], argspec.args)
88 self.assertEqual((2, True, 'hello'), argspec.defaults)
tf_decorator_test.py 105 argspec = tf_inspect.ArgSpec(
110 self.assertIs(argspec,
112 argspec).decorator_argspec)
181 argspec = tf_inspect.ArgSpec(
187 argspec)
189 self.assertEqual(argspec, decorator.decorator_argspec)
  /external/tensorflow/tensorflow/contrib/gan/python/losses/python/
tuple_losses_impl.py 101 argspec = tf_inspect.getargspec(loss_fn)
102 defaults = argspec.defaults or []
104 required_args = set(argspec.args[:-len(defaults)])
105 args_with_defaults = argspec.args[-len(defaults):]
126 args_from_tuple = set(argspec.args).intersection(set(gan_model._fields))
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DocXMLRPCServer.py 81 argspec = inspect.formatargspec (
90 argspec = inspect.formatargspec(
93 argspec = '(...)'
96 argspec = object[0] or argspec
101 decl = title + argspec + (note and self.grey(
181 method_info = [None, None] # argspec, documentation
pydoc.py     [all...]
  /external/python/cpython2/Lib/
DocXMLRPCServer.py 81 argspec = inspect.formatargspec (
90 argspec = inspect.formatargspec(
93 argspec = '(...)'
96 argspec = object[0] or argspec
101 decl = title + argspec + (note and self.grey(
181 method_info = [None, None] # argspec, documentation
pydoc.py     [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
DocXMLRPCServer.py 81 argspec = inspect.formatargspec (
90 argspec = inspect.formatargspec(
93 argspec = '(...)'
96 argspec = object[0] or argspec
101 decl = title + argspec + (note and self.grey(
181 method_info = [None, None] # argspec, documentation
pydoc.py     [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
DocXMLRPCServer.py 81 argspec = inspect.formatargspec (
90 argspec = inspect.formatargspec(
93 argspec = '(...)'
96 argspec = object[0] or argspec
101 decl = title + argspec + (note and self.grey(
181 method_info = [None, None] # argspec, documentation
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
DocXMLRPCServer.py 81 argspec = inspect.formatargspec (
90 argspec = inspect.formatargspec(
93 argspec = '(...)'
96 argspec = object[0] or argspec
101 decl = title + argspec + (note and self.grey(
181 method_info = [None, None] # argspec, documentation
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
DocXMLRPCServer.py 81 argspec = inspect.formatargspec (
90 argspec = inspect.formatargspec(
93 argspec = '(...)'
96 argspec = object[0] or argspec
101 decl = title + argspec + (note and self.grey(
181 method_info = [None, None] # argspec, documentation
  /external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
runtime.py 807 argspec = compat.inspect_func_args(callable_)
809 if argspec[2]:
813 namedargs = argspec[0] + [v for v in argspec[1:3] if v is not None]
821 argspec = compat.inspect_func_args(callable_)
822 namedargs = argspec[0] + [v for v in argspec[1:3] if v is not None]
  /external/tensorflow/tensorflow/tools/api/lib/
python_object_to_proto_visitor.py 36 """Get an ArgSpec string that is free of addresses.
46 string, a string representation of the argspec.
129 # argspec, because it is implemented on the C side. It also has no
132 new_method.argspec = _SanitizedArgSpec(member_obj)
  /external/python/cpython3/Lib/xmlrpc/
server.py 755 argspec = inspect.formatargspec (
765 argspec = inspect.formatargspec(
770 argspec = '(...)'
773 argspec = object[0] or argspec
778 decl = title + argspec + (note and self.grey(
858 method_info = [None, None] # argspec, documentation
    [all...]
  /external/tensorflow/tensorflow/python/framework/
function.py 134 argspec = tf_inspect.getargspec(func)
135 if argspec.keywords or argspec.defaults:
140 min_args = len(argspec.args)
142 if argspec.varargs:
144 argnames = argspec.args
    [all...]
  /external/autotest/frontend/afe/
rpc_utils.py     [all...]
  /external/python/cpython3/Lib/
pydoc.py     [all...]
  /external/autotest/client/common_lib/
utils.py     [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
pydoc.py     [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
pydoc.py     [all...]

Completed in 1417 milliseconds

1 2