[Python-checkins] python/dist/src/Lib/idlelib CallTips.py, 1.11, 1.12

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Tue May 4 04:35:06 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29494

Modified Files:
	CallTips.py 
Log Message:
Testing for None should be done with 'is'

Index: CallTips.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/CallTips.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** CallTips.py	23 Jul 2003 15:42:13 -0000	1.11
--- CallTips.py	4 May 2004 08:34:56 -0000	1.12
***************
*** 22,26 ****
  
      def __init__(self, editwin=None):
!         if editwin == None:  # subprocess and test
              self.editwin = None
              return
--- 22,26 ----
  
      def __init__(self, editwin=None):
!         if editwin is None:  # subprocess and test
              self.editwin = None
              return




More information about the Python-checkins mailing list