I must say I like this idea a lot. It seems much more in keeping with the rest of the python block structure. You could even think of decorators as bullet points. Now if only someone hadn't already found a use for '*' character... For those of us who like code-folding editors, this option also allows them to continue folding the whole code block down to one line. - Laurence > ----------------------------------------------- > Option B > ----------------------------------------------- > > def f(a, b): > @staticmethod > @synchronized(lockvar) > """ > Hi, > > Performs a binary operation. > > Docstring. > """ > return a + b > - Connelly
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