/third_party/python/Lib/test/ |
D | test_decorators.py | 87 self.assertIs(wrapper.__wrapped__, func) 298 self.__wrapped__ = wrapped 301 return self.__wrapped__(*args, **kwargs) 305 self.__wrapped__ = wrapped 308 bound_function = self.__wrapped__.__get__(instance, owner)
|
D | test_inspect.py | 2997 wrapped_foo_call.__wrapped__ = Foo.__call__ 3192 Wrapped.__wrapped__ = lambda a: None 3197 Wrapped.__wrapped__ = Wrapped 4228 def __wrapped__(self): member in NTimesUnwrappable 4251 self.assertIsNot(wrapper.__wrapped__, func) 4270 func1.__wrapped__ = func1 4275 func2.__wrapped__ = func1 4276 func1.__wrapped__ = func2 4284 func.__wrapped__ = None 4287 __wrapped__ = func variable in TestUnwrap.test_unhashable.C
|
D | test_functools.py | 617 self.assertIs(wrapper.__wrapped__, wrapped) 625 f.__wrapped__ = "This is a bald faced lie" 634 self.assertIs(wrapper.__wrapped__, f) 720 f.__wrapped__ = "This is still a bald faced lie" 1259 self.assertIs(f.__wrapped__, orig) 1260 f.__wrapped__(x, y)
|
D | test_contextlib_async.py | 449 self.assertIs(wrapper[1].__wrapped__, _exit)
|
D | test_contextlib.py | 601 self.assertIs(wrapper[1].__wrapped__, _exit)
|
/third_party/python/Tools/peg_generator/pegen/ |
D | parser.py | 39 logger_wrapper.__wrapped__ = method # type: ignore 76 memoize_wrapper.__wrapped__ = method # type: ignore 154 memoize_left_rec_wrapper.__wrapped__ = method # type: ignore
|
/third_party/python/Lib/idlelib/ |
D | run.py | 357 return setrecursionlimit.__wrapped__(limit + RECURSIONLIMIT_DELTA) 365 return getrecursionlimit.__wrapped__() - RECURSIONLIMIT_DELTA 388 sys.setrecursionlimit = sys.setrecursionlimit.__wrapped__ 389 sys.getrecursionlimit = sys.getrecursionlimit.__wrapped__
|
/third_party/python/Lib/ |
D | contextlib.py | 505 _exit_wrapper.__wrapped__ = callback 650 _exit_wrapper.__wrapped__ = callback
|
D | functools.py | 61 wrapper.__wrapped__ = wrapped
|
D | pprint.py | 188 "__create_fn__" in object.__repr__.__wrapped__.__qualname__):
|
D | inspect.py | 161 unwrap = unwrap.__wrapped__ 640 func = func.__wrapped__
|
D | typing.py | 1822 nsobj = nsobj.__wrapped__
|
/third_party/python/Doc/library/ |
D | functools.rst | 188 :attr:`__wrapped__` attribute. This is useful for introspection, for 605 automatically adds a ``__wrapped__`` attribute to the wrapper that refers to 621 Automatic addition of the ``__wrapped__`` attribute. 630 The ``__wrapped__`` attribute now always refers to the wrapped 631 function, even if that function defined a ``__wrapped__`` attribute.
|
D | inspect.rst | 608 ``callable`` specifically (``callable.__wrapped__`` will not be used to 696 without unwrapping its ``__wrapped__`` chain. ``globalns`` and 986 ``__wrapped__`` attributes and includes the already bound first 1106 Get the object wrapped by *func*. It follows the chain of :attr:`__wrapped__`
|
D | functions.rst | 272 have a new ``__wrapped__`` attribute. 1664 have a new ``__wrapped__`` attribute, and are now callable as regular
|
/third_party/python/Doc/howto/ |
D | annotations.rst | 147 unwrap it by accessing either ``o.__wrapped__`` or ``o.func`` as
|
/third_party/python/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.
|
D | 3.2.rst | 788 * The :func:`functools.wraps` decorator now adds a :attr:`__wrapped__` attribute 797 >>> get_phone_number = get_phone_number.__wrapped__ # uncached function
|
D | 3.5.rst | 1308 following of ``__wrapped__`` links.
|
D | 3.10.rst | 848 ``__annotations__``) and have a new ``__wrapped__`` attribute.
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0b1.rst | 408 ``__annotations__``) and have a new ``__wrapped__`` attribute. Patch by
|
/third_party/typescript/tests/baselines/reference/user/ |
D | lodash.log | 395 node_modules/lodash/plant.js(42,21): error TS2339: Property '__wrapped__' does not exist on type '{…
|
/third_party/python/Misc/ |
D | HISTORY | 2296 - Issue #20684: Fix inspect.getfullargspec() to not to follow __wrapped__ 4746 - Issue #13266: Added inspect.unwrap to easily unravel __wrapped__ chains 4785 __wrapped__ attribute correctly even if the underlying function has a 4786 __wrapped__ attribute set. 12501 - Issue #9567: functools.update_wrapper now adds a __wrapped__ attribute
|