Skip to content

Commit f571ec7

Browse files
Update Lib/functools.py
Co-authored-by: Tomas R. <[email protected]>
1 parent 2e6b46f commit f571ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/functools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ def _find_impl(cls, registry):
885885
match = t
886886
return registry.get(match)
887887

888-
def _singledispatchimpl(func, is_method):
888+
def _singledispatchimpl(func, *, is_method):
889889
# There are many programs that use functools without singledispatch, so we
890890
# trade-off making singledispatch marginally slower for the benefit of
891891
# making start-up of such applications slightly faster.

0 commit comments

Comments
 (0)