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

Carl Banks imbosol-1047853643 at aerojockey.com
Sun Mar 16 17:53:11 EST 2003


Gerrit Holl wrote:
> Aahz schreef op zondag 16 maart om 22:11:47 +0000:
>> s/__getattr__/__getattribute__/
> 
> I take it you mean:
> 
> s.replace('__getattr__', '__getattribute__')

He really meant M-x replace-string ^M __getattr__ ^M __getattribute__ ^M

I have no idea what point he was trying to make, though.


-- 
CARL BANKS




More information about the Python-list mailing list