/external/tensorflow/tensorflow/python/util/ |
D | tf_decorator.py | 105 decorator_func.__wrapped__ = target 173 innermost_decorator.__func__.__wrapped__ = new_target 175 innermost_decorator.im_func.__wrapped__ = new_target 177 innermost_decorator.__wrapped__ = new_target 179 innermost_decorator.__wrapped__ = new_target
|
D | tf_decorator_test.py | 58 return wrapper.__wrapped__(x)**2 66 return wrapper.__wrapped__(x) + 1
|
/external/python/cpython3/Lib/ |
D | contextlib.py | 439 _exit_wrapper.__wrapped__ = callback 587 _exit_wrapper.__wrapped__ = callback
|
D | functools.py | 63 wrapper.__wrapped__ = wrapped
|
/external/python/cpython3/Doc/library/ |
D | functools.rst | 78 :attr:`__wrapped__` attribute. This is useful for introspection, for 411 automatically adds a ``__wrapped__`` attribute to the wrapper that refers to 427 Automatic addition of the ``__wrapped__`` attribute. 436 The ``__wrapped__`` attribute now always refers to the wrapped 437 function, even if that function defined a ``__wrapped__`` attribute.
|
D | inspect.rst | 568 ``callable`` specifically (``callable.__wrapped__`` will not be used to 653 without unwrapping its ``__wrapped__`` chain. 921 ``__wrapped__`` attributes and includes the already bound first 1041 Get the object wrapped by *func*. It follows the chain of :attr:`__wrapped__`
|
/external/python/funcsigs/ |
D | README.rst | 45 the ``__wrapped__`` property of a class after it has been constructed.
|
/external/python/mock/mock/tests/ |
D | testpatch.py | 1814 self.assertIs(decorated.__wrapped__, function) 1820 self.assertIs(decorated.__wrapped__, function) 1825 self.assertIs(decorated.__wrapped__, function) 1830 self.assertIs(decorated.__wrapped__, function) 1835 self.assertIs(decorated.__wrapped__, function)
|
/external/python/cpython3/Lib/test/ |
D | test_inspect.py | 2683 wrapped_foo_call.__wrapped__ = Foo.__call__ 2838 Wrapped.__wrapped__ = lambda a: None 2843 Wrapped.__wrapped__ = Wrapped 3673 def __wrapped__(self): member in NTimesUnwrappable 3696 self.assertIsNot(wrapper.__wrapped__, func) 3715 func1.__wrapped__ = func1 3720 func2.__wrapped__ = func1 3721 func1.__wrapped__ = func2 3729 func.__wrapped__ = None 3732 __wrapped__ = func variable in TestUnwrap.test_unhashable.C
|
D | test_functools.py | 592 self.assertIs(wrapper.__wrapped__, wrapped) 600 f.__wrapped__ = "This is a bald faced lie" 609 self.assertIs(wrapper.__wrapped__, f) 695 f.__wrapped__ = "This is still a bald faced lie" 1173 self.assertIs(f.__wrapped__, orig) 1174 f.__wrapped__(x, y)
|
D | test_contextlib_async.py | 326 self.assertIs(wrapper[1].__wrapped__, _exit)
|
D | test_contextlib.py | 595 self.assertIs(wrapper[1].__wrapped__, _exit)
|
/external/python/six/ |
D | test_six.py | 786 k = k.__wrapped__ 788 k = k.__wrapped__
|
D | CHANGES | 118 the __wrapped__ attribute.
|
D | six.py | 812 f.__wrapped__ = wrapped
|
/external/tensorflow/tensorflow/python/eager/ |
D | def_function.py | 316 return weak_wrapped_fn().__wrapped__(*args, **kwds)
|
D | function.py | 2077 wrapped_fn = strong_bound_method_wrapper.__wrapped__
|
/external/python/funcsigs/tests/ |
D | test_inspect.py | 534 Wrapped.__wrapped__ = lambda a: None
|
/external/python/funcsigs/docs/ |
D | index.rst | 32 the ``__wrapped__`` property of a class after it has been constructed.
|
/external/scapy/scapy/modules/ |
D | six.py | 816 f.__wrapped__ = wrapped
|
/external/python/funcsigs/funcsigs/ |
D | __init__.py | 87 wrapped = obj.__wrapped__
|
/external/python/setuptools/pkg_resources/_vendor/ |
D | six.py | 793 f.__wrapped__ = wrapped
|
/external/python/setuptools/setuptools/_vendor/ |
D | six.py | 793 f.__wrapped__ = wrapped
|
/external/pdfium/third_party/pymock/ |
D | mock.py | 55 f.__wrapped__ = original 65 f.__wrapped__ = func
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 1033 ``__wrapped__`` attribute on a wrapper function). (Contributed by 1047 :func:`~inspect.signature`, these functions still ignore ``__wrapped__`` 1282 variety of callable objects. This change also means that ``__wrapped__`` 2320 set the ``__wrapped__`` attribute to the function being wrapped, even if 2321 that function also had its ``__wrapped__`` attribute set. This means 2322 ``__wrapped__`` attributes now correctly link a stack of decorated 2323 functions rather than every ``__wrapped__`` attribute in the chain 2327 no ``__wrapped__`` attribute.
|