> Has anyone suggested the following? Not AFAIK. > Create a new kind of string, _not_ a docstring, to hold annotations, etc. > > """@annotate whatever""" or even ""@" whatever""" The first is a valid string literal now, and thus gets the same fate as [decorators] -- lots of people get very uncomfortable at the ambiguity of assigning a new meaning to something that was legal syntax before (even if it was meaningless). The second is not a valid string literal now -- doesn't that cause the same problems for Leo as @decorators? --Guido van Rossum (home page: http://www.python.org/~guido/)
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