Guido van Rossum wrote: > [...] > def foobar(self, arg): > @author: AuthorInfo(author="GvR", version="1.0", copyright="GPL", ...) > @deprecated: True > > I could also see using '=' instead of ':': > > def foobar(self, arg): > @author = AuthorInfo(author="GvR", version="1.0", copyright="GPL", ...) > @deprecated = True For me '@' looks like something that the compiler shouldn't see. How about: def foobar(self, arg): .author = AuthorInfo(author="GvR", version="1.0", copyright="GPL", ...) .deprecated = True Bye, Walter Dörwald
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