Skip to content

Commit 41cca46

Browse files
committed
add TODO comment
1 parent 9b4c3f9 commit 41cca46

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

unpythonic/dispatch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
https://docs.python.org/3/library/typing.html#typing.overload
2020
"""
2121

22+
# TODO: Reimplement in the same spirit as `functools.singledispatch`?
23+
# TODO: The complication is, we support `typing` type specifications, not only concrete types.
24+
# TODO: OTOH, `singledispatch` does handle the specific case of ABCs, via the subtype hooks.
25+
2226
__all__ = ["isgeneric", "generic", "augment", "typed",
2327
"methods", "format_methods", "list_methods"]
2428

0 commit comments

Comments
 (0)