Skip to content

Commit 9191a22

Browse files
committed
Fix incorrect comment
1 parent 9b2d20d commit 9191a22

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
@@ -901,7 +901,7 @@ def _get_singledispatch_annotated_param(func, *, __role__):
901901
idx = 1 # Skip 'cls' or 'self'.
902902
func = func.__func__
903903
else:
904-
# Skip 'self' when called from `@singledispatchmethod.register`.
904+
# Skip 'self' when called from `singledispatchmethod.register`.
905905
idx = 0 if __role__ == "function" else 1
906906
# Fast path: emulate `inspect._signature_from_function` if possible.
907907
if isinstance(func, FunctionType) and not hasattr(func, "__wrapped__"):

0 commit comments

Comments
 (0)