2010/6/11 Brett Cannon <brett at python.org>: > This "magical" ignoring of self seems to extend to any PyCFunction. Is > this dichotomy intentional or just a "fluke"? Maybe this is a > hold-over from before we had descriptors and staticmethod, but now > that we have these things perhaps this difference should go away. There are several open feature requests about this. It is merely because PyCFunction does not implement __get__. -- Regards, Benjamin
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