> How would this be interpreted? > > x = 42 > > def x(self) [propget]: > "Doc string for x" > return self.__x It should raise an exception here. See the implementation that I posted a few days ago: <http://www.cis.upenn.edu/~edloper/pydecorators.html>. The same should apply for the generic decorator, and any other decorator that "combines" the new value with the old. Errors-should-never-pass-silently-yours, Edward
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