>> 2. Define a class with a singleton instance. >> >> class MyClass [singleton]: >> ... Greg> This example appears before you've mentioned the possibility of Greg> applying this to classes. May be the "Possible Extensions" section Greg> should appear earlier? Actually, it should be deleted and the PEP updated. Michael's latest patch apparently supports class decorators, so it's no longer an extension. Skip
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