#2503 make singletons compared with "is" not == or !=

Thanks to Wummel for the patch
This commit is contained in:
Benjamin Peterson 2008-03-29 15:24:25 +00:00
parent 672fbf5195
commit 5b63acd31e
54 changed files with 140 additions and 141 deletions

View file

@ -20,7 +20,7 @@ class Finder_Basics_Events:
_subcode = 'copy'
if _arguments: raise TypeError, 'No optional args expected'
if _no_object != None: raise TypeError, 'No direct arg expected'
if _no_object is not None: raise TypeError, 'No direct arg expected'
_reply, _arguments, _attributes = self.send(_code, _subcode,