We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_get_dispatch_param
1 parent 57faa34 commit e4fb514Copy full SHA for e4fb514
Lib/functools.py
@@ -889,7 +889,7 @@ def _find_impl(cls, registry):
889
return registry.get(match)
890
891
def _get_dispatch_param(func, *, pos=0):
892
- """Finds the first positional user-specified parameter at position *pos*
+ """Finds the positional user-specified parameter at position *pos*
893
of a callable or descriptor.
894
895
Used by singledispatch for registration by type annotation of the parameter.
0 commit comments