Skip to content

Commit 3fcb6f5

Browse files
committed
improve comment
1 parent 4f2c0f6 commit 3fcb6f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unpythonic/tests/test_dispatch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ def gargle(*args: typing.Tuple[int, float, str]): # three args, matching the gi
6060

6161
# v0.15.0: dispatching on a homogeneous type inside **kwargs is also supported, via `typing.Dict`
6262
@generic
63-
def kittify(**kwargs: typing.Dict[str, int]):
63+
def kittify(**kwargs: typing.Dict[str, int]): # all kwargs are ints
6464
return "int"
6565
@generic
66-
def kittify(**kwargs: typing.Dict[str, float]): # noqa: F811
66+
def kittify(**kwargs: typing.Dict[str, float]): # all kwargs are floats # noqa: F811
6767
return "float"
6868

6969
# One-method pony, which automatically enforces argument types.

0 commit comments

Comments
 (0)