A while ago there was a proposal floating around to add an optional part to function/method definitions, that would replace the current clumsy classmethod etc. notation, and could be used for other purposes too. I think the final proposal looked like this: def name(arg, ...) [expr, ...]: ...body... Does anyone remember or know where to find the thread where this proposal was discussed? It ought to be turned into a PEP. --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