Home
last modified time | relevance | path

Searched refs:singledispatch (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Lib/importlib/
D_common.py45 @functools.singledispatch
/external/python/cpython3/Lib/test/
Dtest_functools.py1762 @functools.singledispatch
1773 @functools.singledispatch
1796 @functools.singledispatch
1810 @functools.singledispatch
1821 @functools.singledispatch
1898 @functools.singledispatch
2017 @functools.singledispatch
2028 @functools.singledispatch
2074 @functools.singledispatch
2099 @functools.singledispatch
[all …]
/external/fonttools/Lib/fontTools/misc/plistlib/
D__init__.py22 from functools import singledispatch
420 @singledispatch
/external/python/cpython3/Doc/library/
Dfunctools.rst379 .. decorator:: singledispatch
384 To define a generic function, decorate it with the ``@singledispatch``
388 >>> from functools import singledispatch
389 >>> @singledispatch
468 The original function decorated with ``@singledispatch`` is registered
/external/python/cpython3/Lib/
Dfunctools.py798 def singledispatch(func): function
901 self.dispatcher = singledispatch(func)
Dpkgutil.py4 from functools import singledispatch as simplegeneric
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a4.rst646 ``functools.singledispatch`` now supports registering implementations using
D3.5.1rc1.rst903 Fixed functools.singledispatch on classes with falsy metaclasses. Patch by
D3.8.0b1.rst1276 annotation with singledispatch.
D3.9.0a1.rst3601 Explicitly mention abc support in functools.singledispatch
D3.8.0a1.rst3899 functools.singledispatch now raises TypeError instead of IndexError when no
/external/python/cpython3/Doc/whatsnew/
D3.4.rst118 * :ref:`Single-dispatch generic functions <whatsnew-singledispatch>` in
860 .. _whatsnew-singledispatch:
862 The new :func:`~functools.singledispatch` decorator brings support for
D3.7.rst923 :func:`functools.singledispatch` now supports registering implementations
/external/python/cpython3/Doc/
Dglossary.rst484 :func:`functools.singledispatch` decorator, and :pep:`443`.
/external/fonttools/
DNEWS.rst812 - Require typing>=3.6.4 on py27 to fix issue with singledispatch (#1423).
/external/python/cpython3/Misc/
DHISTORY735 - Issue #23572: Fixed functools.singledispatch on classes with falsy