I have to say I favor the "last before colon" approach, but if it has to be before the def, then I think it should have a keyword, and if you don't want to introduce a new keyword, then it looks like "is" is the only reasonable candidate. And if you do have a keyword, you don't need the square brackets. So you have is: classmethod def f(x): pass is: author("Guido"), signature(int, result=None) def g(x): pass
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