Searched refs:singledispatchmethod (Results 1 – 5 of 5) sorted by relevance
512 .. class:: singledispatchmethod(func)517 To define a generic method, decorate it with the ``@singledispatchmethod``522 @singledispatchmethod534 ``@singledispatchmethod`` supports nesting with other decorators such as536 ``singledispatchmethod`` must be the *outer most* decorator. Here is the540 @singledispatchmethod
2285 @functools.singledispatchmethod2311 @functools.singledispatchmethod2334 @functools.singledispatchmethod2356 @functools.singledispatchmethod2377 @functools.singledispatchmethod2386 @functools.singledispatchmethod
890 class singledispatchmethod: class
793 Added a new :func:`functools.singledispatchmethod` decorator that converts797 from functools import singledispatchmethod805 @singledispatchmethod
5301 Create functools.singledispatchmethod to support generic single dispatch on