In article <[email protected]>, [email protected] says... > > > So I'd rather see: > > def myfunction(arg1, arg2): > """ > Normal docstring. > """ > "@typehint: (str, int) -> bool" > return True >
Actually that is idiotic. Much better is:
def myfunction(arg1, arg2):
"""
Normal docstring...
@typehint: (str, int) -> bool
"""
return True
Why would I need to insert an extra docstring, if I'm already defining a
parameter?
--
https://mail.python.org/mailman/listinfo/python-list
