We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f228a84 commit cac0c73Copy full SHA for cac0c73
Lib/functools.py
@@ -752,6 +752,9 @@ def singledispatch(func):
752
implementations can be registered using the register() attribute of the
753
generic function.
754
"""
755
+ # There are many programs that use functools without singledispatch, so we
756
+ # trade-off making singledispatch marginally slower for the benefit of
757
+ # making start-up of such applications slightly faster.
758
from types import MappingProxyType
759
from weakref import WeakKeyDictionary
760
0 commit comments