Python Sanity Proposal: Type Hinting Solution
marfig at gmail.com
Fri Jan 23 23:45:47 CET 2015
In article <MPG.2f2cecb4624e49c498968c at nntp.aioe.org>, marfig at gmail.com
> 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):
@typehint: (str, int) -> bool
Why would I need to insert an extra docstring, if I'm already defining a
More information about the Python-list