Searched refs:singledispatch (Results 1 – 16 of 16) sorted by relevance
20 singledispatch>=3.4.0.344 singledispatch>=3.4.0.3
552 - Require typing>=3.6.4 on py27 to fix issue with singledispatch (#1423).
15 from functools import singledispatch18 from singledispatch import singledispatch20 singledispatch = None variable382 if singledispatch is not None:384 @singledispatch
1656 @functools.singledispatch1667 @functools.singledispatch1690 @functools.singledispatch1704 @functools.singledispatch1715 @functools.singledispatch1792 @functools.singledispatch1911 @functools.singledispatch1922 @functools.singledispatch1968 @functools.singledispatch1993 @functools.singledispatch[all …]
278 .. decorator:: singledispatch283 To define a generic function, decorate it with the ``@singledispatch``287 >>> from functools import singledispatch288 >>> @singledispatch367 The original function decorated with ``@singledispatch`` is registered
4 from functools import singledispatch as simplegeneric
750 def singledispatch(func): function
647 ``functools.singledispatch`` now supports registering implementations using
714 functools.singledispatch now raises TypeError instead of IndexError when no
903 Fixed functools.singledispatch on classes with falsy metaclasses. Patch by
118 * :ref:`Single-dispatch generic functions <whatsnew-singledispatch>` in860 .. _whatsnew-singledispatch:862 The new :func:`~functools.singledispatch` decorator brings support for
918 :func:`functools.singledispatch` now supports registering implementations
460 :func:`functools.singledispatch` decorator, and :pep:`443`.
135 - Require typing>=3.6.4 on py27 to fix issue with singledispatch (#1423).
735 - Issue #23572: Fixed functools.singledispatch on classes with falsy