After considering the docstring problem of decorators, it occured to me that decorators could be seen as an inheritance mechanism of functions. class docsafe(function): ... @ docsafe def f(x, y, z): """ To be saved """ ... print f <__main__.docsafe object at 0x401e074c> Sincerely yours, Roman Suzi -- rnd at onego.ru =\= My AI powered by GNU/Linux RedHat 7.3
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