[Python-checkins] CVS: python/dist/src/Lib/distutils cygwinccompiler.py,1.8,1.9

Fred L. Drake python-dev@python.org
Tue, 12 Dec 2000 15:11:44 -0800


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv18670/distutils

Modified Files:
	cygwinccompiler.py 
Log Message:

Update the code to better reflect recommended style:

Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.


Index: cygwinccompiler.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/cygwinccompiler.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** cygwinccompiler.py	2000/09/27 02:08:14	1.8
--- cygwinccompiler.py	2000/12/12 23:11:39	1.9
***************
*** 242,246 ****
  
          #end: if ((export_symbols is not None) and
!         #        (target_desc <> self.EXECUTABLE or self.linker_dll == "gcc")):
                                                   
          # who wants symbols and a many times larger output file
--- 242,246 ----
  
          #end: if ((export_symbols is not None) and
!         #        (target_desc != self.EXECUTABLE or self.linker_dll == "gcc")):
                                                   
          # who wants symbols and a many times larger output file