Skip to content

Commit 9384277

Browse files
committed
update comment
1 parent 6180eb5 commit 9384277

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unpythonic/dispatch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,8 @@ def _list_multimethods(dispatcher, self_or_cls=None):
413413
lookups to find linked dispatchers.
414414
"""
415415
# TODO: Compute closest candidates, like Julia does? (see `methods`, `MethodError` in Julia)
416-
# TODO: (If we do that, we need to look at the attempted call. When no call (just listing
417-
# TODO: multimethods in the REPL), the current ordering is probably fine.)
416+
# TODO: (If we do that, we need to look at the bound arguments. When just listing multimethods
417+
# TODO: in the REPL, the current ordering is probably fine.)
418418

419419
# For regular functions, ours is the only registry we need to look at:
420420
relevant_registries = [reversed(dispatcher._method_registry)]

0 commit comments

Comments
 (0)