Skip to content

Commit 8a46f3f

Browse files
committed
Rephrase the fallback path comment
1 parent 345b7e9 commit 8a46f3f

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
@@ -903,7 +903,7 @@ def _get_positional_param(func, *, pos=0):
903903
return func_code.co_varnames[:func_code.co_argcount][pos]
904904
except IndexError:
905905
pass
906-
# Fallback path for ambiguous objects with more sophisticated inspection.
906+
# Fallback path for more nuanced inspection of ambiguous callable objects.
907907
import inspect
908908
for param in list(inspect.signature(func).parameters.values())[pos:]:
909909
if param.kind in (param.KEYWORD_ONLY, param.VAR_KEYWORD):

0 commit comments

Comments
 (0)