Skip to content

Commit 44b8bba

Browse files
committed
Improve the docstring
1 parent fbce76d commit 44b8bba

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
@@ -892,7 +892,7 @@ def _get_dispatch_param(func, *, pos=0):
892892
"""Finds the first positional user-specified parameter at position *pos*
893893
of a callable or descriptor.
894894
895-
Used by singledispatch for registration by type annotation.
895+
Used by singledispatch for registration by type annotation of the parameter.
896896
*pos* should either be 0 (for functions and staticmethods) or 1 (for methods).
897897
"""
898898
# Fast path for typical callables and descriptors.

0 commit comments

Comments
 (0)