Skip to content

Commit fbc205e

Browse files
committed
Disambiguate comment
1 parent 3edad44 commit fbc205e

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
@@ -921,7 +921,7 @@ def _get_singledispatch_annotated_param(func, *, _inside_dispatchmethod=False):
921921
import inspect
922922
try:
923923
param = list(inspect.signature(func).parameters.values())[idx]
924-
if param.kind < 3: # Discard (*, arg) and (**args)
924+
if param.kind < 3: # False for (*, arg) and (**args) parameters.
925925
return param.name
926926
except IndexError:
927927
pass

0 commit comments

Comments
 (0)