Home
last modified time | relevance | path

Searched refs:singledispatchmethod (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Doc/library/
Dfunctools.rst512 .. class:: singledispatchmethod(func)
517 To define a generic method, decorate it with the ``@singledispatchmethod``
522 @singledispatchmethod
534 ``@singledispatchmethod`` supports nesting with other decorators such as
536 ``singledispatchmethod`` must be the *outer most* decorator. Here is the
540 @singledispatchmethod
/external/python/cpython3/Lib/test/
Dtest_functools.py2285 @functools.singledispatchmethod
2311 @functools.singledispatchmethod
2334 @functools.singledispatchmethod
2356 @functools.singledispatchmethod
2377 @functools.singledispatchmethod
2386 @functools.singledispatchmethod
/external/python/cpython3/Lib/
Dfunctools.py890 class singledispatchmethod: class
/external/python/cpython3/Doc/whatsnew/
D3.8.rst793 Added a new :func:`functools.singledispatchmethod` decorator that converts
797 from functools import singledispatchmethod
805 @singledispatchmethod
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a1.rst5301 Create functools.singledispatchmethod to support generic single dispatch on