Is " a is b " and " id(a) == id(b) " the same?

Aahz aahz at pythoncraft.com
Sun Mar 16 20:54:09 EST 2003


In article <mailman.1047849746.21366.python-list at python.org>,
Gerrit Holl  <gerrit at nl.linux.org> wrote:
>Aahz schreef op zondag 16 maart om 22:11:47 +0000:
>>
>> s/__getattr__/__getattribute__/
>
>I take it you mean:
>s.replace('__getattr__', '__getattribute__')

http://www.vim.org/
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Register for PyCon now!  http://www.python.org/pycon/reg.html




More information about the Python-list mailing list