Home
last modified time | relevance | path

Searched refs:update_wrapper (Results 1 – 18 of 18) sorted by relevance

/third_party/node/tools/inspector_protocol/jinja2/
Dasyncsupport.py15 from functools import update_wrapper
55 return update_wrapper(generate, original_generate)
79 return update_wrapper(render, original_render)
96 return update_wrapper(__call__, original_call)
112 return update_wrapper(_invoke, original_invoke)
144 Template.generate_async = update_wrapper(
146 Template.render_async = update_wrapper(
152 Template.make_module_async = update_wrapper(
Dcompiler.py14 from functools import update_wrapper
71 return update_wrapper(new_func, f)
/third_party/skia/third_party/externals/jinja2/
Dasyncsupport.py7 from functools import update_wrapper
52 return update_wrapper(generate, original_generate)
75 return update_wrapper(render, original_render)
92 return update_wrapper(__call__, original_call)
109 return update_wrapper(_invoke, original_invoke)
142 Template.generate_async = update_wrapper(generate_async, Template.generate_async)
143 Template.render_async = update_wrapper(render_async, Template.render_async)
147 Template.make_module_async = update_wrapper(
Dcompiler.py4 from functools import update_wrapper
75 return update_wrapper(new_func, f)
/third_party/jinja2/
Dasyncsupport.py7 from functools import update_wrapper
52 return update_wrapper(generate, original_generate)
75 return update_wrapper(render, original_render)
92 return update_wrapper(__call__, original_call)
109 return update_wrapper(_invoke, original_invoke)
142 Template.generate_async = update_wrapper(generate_async, Template.generate_async)
143 Template.render_async = update_wrapper(render_async, Template.render_async)
147 Template.make_module_async = update_wrapper(
Dcompiler.py4 from functools import update_wrapper
75 return update_wrapper(new_func, f)
/third_party/mesa3d/src/mesa/swrast/
Ds_texrender.c30 update_wrapper(struct gl_context *ctx, struct gl_renderbuffer_attachment *att) in update_wrapper() function
88 update_wrapper(ctx, att); in _swrast_render_texture()
/third_party/python/Lib/
Dfunctools.py35 def update_wrapper(wrapper, function
76 return partial(update_wrapper, wrapped=wrapped,
513 return update_wrapper(wrapper, user_function)
521 return update_wrapper(wrapper, user_function)
897 update_wrapper(wrapper, func)
930 update_wrapper(_method, self.func)
/third_party/python/Lib/test/
Dtest_doctest.py2433 functools.update_wrapper(self, func)
Dpstats.pck24 …g���]/M?{(���u'���/home/gbr/devel/python/Lib/functools.pyi���u���update_wrapper(���i���i���…
77 …�>g�h㈵��>{(���u'���/home/gbr/devel/python/Lib/functools.pyi���u���update_wrapper(���i���i���…
Dtest_functools.py628 functools.update_wrapper(wrapper, f)
654 functools.update_wrapper(wrapper, f, (), ())
672 functools.update_wrapper(wrapper, f, assign, update)
689 functools.update_wrapper(wrapper, f, assign, update)
695 functools.update_wrapper(wrapper, f, assign, update)
698 functools.update_wrapper(wrapper, f, assign, update)
707 functools.update_wrapper(wrapper, max)
Dtest_xml_etree.py129 functools.update_wrapper(newtest, test)
/third_party/python/Doc/library/
Dfunctools.rst591 .. function:: update_wrapper(wrapper, wrapped, assigned=WRAPPER_ASSIGNMENTS, updated=WRAPPER_UPDATE…
614 :func:`update_wrapper` may be used with callables other than functions. Any
637 This is a convenience function for invoking :func:`update_wrapper` as a
639 ``partial(update_wrapper, wrapped=wrapped, assigned=assigned, updated=updated)``.
Dinspect.rst1168 ``functools.update_wrapper()``) it is first unwrapped.
/third_party/python/Doc/howto/
Dannotations.rst145 * If ``o`` is a wrapped callable using :func:`functools.update_wrapper`,
/third_party/python/Doc/whatsnew/
D2.5.rst174 ``update_wrapper(wrapper, wrapped)`` function that helps you write
175 well-behaved decorators. :func:`update_wrapper` copies the name, module, and
183 functools.update_wrapper(wrapper, f)
D3.4.rst2319 * :func:`functools.update_wrapper` and :func:`functools.wraps` now correctly
/third_party/python/Misc/
DHISTORY4784 - Issue #17482: functools.update_wrapper (and functools.wraps) now set the
12501 - Issue #9567: functools.update_wrapper now adds a __wrapped__ attribute
12504 - Issue #3445: functools.update_wrapper now tolerates missing attributes on
12558 functools.update_wrapper. Patch by Terrence Cole.
18143 - The functions update_wrapper() and wraps() have been added to the functools