On Fri, Sep 24, 2004, Dmitry Vasiliev wrote: > > Is this intended? Seems like a bug... > > (Python 2.1.3, 2.2.2, 2.3.4, 2.4a3, both old- and new- style classes.) > > >>> class Test(object): > ... def test(self): pass > ... > >>> Test.test is Test.test > False > >>> t = Test() > >>> t.test is t.test > False Not a bug. For more discussion, please post to comp.lang.python -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines." --Ralph Waldo Emerson
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