Type comments are positioned incorrect
Closed this issue · 2 comments
rioj7 commented
For the following functions the type comment line is placed incorrect
line 267: def inputCustom()
line 330: def inputNum()
The type recognition is incorrect because the type line is placed incorrect
def inputCustom(
# type: (Callable, str, .....) -> Any
customValidationFunc,
prompt="",
.....):
"""Prompts the user to enter input. ....."""
it should be AFTER the argument list.
def inputCustom(
customValidationFunc, prompt="", .....):
# type: (Callable, str, .....) -> Any
"""Prompts the user to enter input. ....."""
asweigart commented
Thanks! Fixed in 0.2.11.