summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-12-12 23:11:42 +0000
committerFred Drake <fdrake@acm.org>2000-12-12 23:11:42 +0000
commit41f2923e4cb8e646dd04aea546f43752850c091b (patch)
treec85a887c569b9b453a4c7374b399352b96b85d1c
parentf64d6b6db2fa6882b19b75d53156c4a541b53588 (diff)
downloadpython-setuptools-git-41f2923e4cb8e646dd04aea546f43752850c091b.tar.gz
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.
-rw-r--r--cygwinccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cygwinccompiler.py b/cygwinccompiler.py
index 5b06d3d7..f40d1a2d 100644
--- a/cygwinccompiler.py
+++ b/cygwinccompiler.py
@@ -241,7 +241,7 @@ class CygwinCCompiler (UnixCCompiler):
objects.append(def_file)
#end: if ((export_symbols is not None) and
- # (target_desc <> self.EXECUTABLE or self.linker_dll == "gcc")):
+ # (target_desc != self.EXECUTABLE or self.linker_dll == "gcc")):
# who wants symbols and a many times larger output file
# should explicitly switch the debug mode on