A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-September/049068.html below:

[Python-Dev] Methods identity...?

[Python-Dev] Methods identity...? [Python-Dev] Methods identity...?Dmitry Vasiliev lists at hlabs.spb.ru
Fri Sep 24 16:10:21 CEST 2004
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

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru
More information about the Python-Dev mailing list

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