[MERGE] compare types with "is" not ==

Benjamin Peterson benjamin at python.org
Sat Mar 7 20:53:20 GMT 2009


2009/3/7 Benjamin Peterson <benjamin at python.org>:
> __class__ should always be compared with "is"

Attaching the patch should help.



-- 
Regards,
Benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compare-types.patch
Type: application/octet-stream
Size: 5722 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090307/eaf477a6/attachment-0001.obj 


More information about the bazaar mailing list