Searched refs:singledispatch (Results 1 – 16 of 16) sorted by relevance
45 @functools.singledispatch
1762 @functools.singledispatch1773 @functools.singledispatch1796 @functools.singledispatch1810 @functools.singledispatch1821 @functools.singledispatch1898 @functools.singledispatch2017 @functools.singledispatch2028 @functools.singledispatch2074 @functools.singledispatch2099 @functools.singledispatch[all …]
22 from functools import singledispatch420 @singledispatch
379 .. decorator:: singledispatch384 To define a generic function, decorate it with the ``@singledispatch``388 >>> from functools import singledispatch389 >>> @singledispatch468 The original function decorated with ``@singledispatch`` is registered
798 def singledispatch(func): function901 self.dispatcher = singledispatch(func)
4 from functools import singledispatch as simplegeneric
646 ``functools.singledispatch`` now supports registering implementations using
903 Fixed functools.singledispatch on classes with falsy metaclasses. Patch by
1276 annotation with singledispatch.
3601 Explicitly mention abc support in functools.singledispatch
3899 functools.singledispatch now raises TypeError instead of IndexError when no
118 * :ref:`Single-dispatch generic functions <whatsnew-singledispatch>` in860 .. _whatsnew-singledispatch:862 The new :func:`~functools.singledispatch` decorator brings support for
923 :func:`functools.singledispatch` now supports registering implementations
484 :func:`functools.singledispatch` decorator, and :pep:`443`.
812 - Require typing>=3.6.4 on py27 to fix issue with singledispatch (#1423).
735 - Issue #23572: Fixed functools.singledispatch on classes with falsy