Home
last modified time | relevance | path

Searched refs:partialmethod (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Lib/asyncio/
Dformat_helpers.py17 if isinstance(func, functools.partialmethod):
/external/python/cpython3/Doc/library/
Dfunctools.rst210 .. class:: partialmethod(func, *args, **keywords)
212 Return a new :class:`partialmethod` descriptor which behaves
221 another instance of :class:`partialmethod`), calls to ``__get__`` are
229 the :class:`partialmethod` constructor.
241 ... set_alive = partialmethod(set_state, True)
242 ... set_dead = partialmethod(set_state, False)
/external/python/cpython3/Lib/test/
Dtest_functools.py463 nothing = functools.partialmethod(capture)
464 positional = functools.partialmethod(capture, 1)
465 keywords = functools.partialmethod(capture, a=2)
466 both = functools.partialmethod(capture, 3, b=4)
468 nested = functools.partialmethod(positional, 5)
470 over_partial = functools.partialmethod(functools.partial(capture, c=6), 7)
472 static = functools.partialmethod(staticmethod(capture), 8)
473 cls = functools.partialmethod(classmethod(capture), d=9)
552 method = functools.partialmethod(None, 1)
565 add5 = functools.partialmethod(add, 5)
Dtest_inspect.py796 pham = functools.partialmethod(ham)
2088 f1 = functools.partialmethod((test_classmethod), 1)
2089 f2 = functools.partialmethod((test_args_only), 1)
2090 f3 = functools.partialmethod((test_staticmethod), 1)
2091 f4 = functools.partialmethod((test_args_kwargs_only),1)
2583 from functools import partialmethod
2588 ham = partialmethod(test)
2596 ham = partialmethod(test, c=1)
2613 g = partialmethod(test, 1)
/external/python/cpython3/Lib/
Dfunctools.py318 class partialmethod(object): class
333 if isinstance(func, partialmethod):
Dinspect.py2250 partialmethod = obj._partialmethod
2254 if isinstance(partialmethod, functools.partialmethod):
2263 partialmethod.func,
2268 sig = _signature_get_partial(wrapped_sig, partialmethod, (None,))
/external/python/cpython3/Misc/NEWS.d/
D3.6.2rc1.rst193 wrapped with partialmethod. Patch by Dong-hee Na.
D3.5.4rc1.rst344 wrapped with partialmethod. Patch by Dong-hee Na.
D3.7.0a1.rst2620 wrapped with partialmethod. Patch by Dong-hee Na.
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py2749 cb = functools.partialmethod(method)
/external/python/cpython3/Doc/whatsnew/
D3.4.rst853 The new :func:`~functools.partialmethod` descriptor brings partial argument
/external/python/cpython3/Misc/
DHISTORY4716 - Issue #4331: Added functools.partialmethod (Initial patch by Alon Horev)