Please don't clutter executable code. We need to read it without growing an headache. Much better is: def myfunction(arg1, arg2): """ Normal docstring... @hint: (str, int) -> bool """ return True While I agree type hinting, for the purposes of static analysis, has no place in __doc__, I think that we could live with that. Otherwise: def myfunction(arg1, arg2): """ Normal docstring... """ "@hint: (str, int) -> bool" return True -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150124/3a71b09b/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4