]> granicus.if.org Git - python/commit
Update the code to better reflect recommended style:
authorFred Drake <fdrake@acm.org>
Tue, 12 Dec 2000 23:11:42 +0000 (23:11 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 12 Dec 2000 23:11:42 +0000 (23:11 +0000)
commit132dce22469f476f399d1bbc6d1cc2f7ba0110cc
tree4b0988e41b3b7d25d10c2a24fb18b07ff376f66d
parent63596aeb33c2837d7802449c8906349c9ea1998e
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.
55 files changed:
Lib/distutils/cygwinccompiler.py
Lib/lib-old/Para.py
Lib/lib-old/cmp.py
Lib/lib-old/cmpcache.py
Lib/lib-old/dircmp.py
Lib/lib-old/fmt.py
Lib/lib-old/grep.py
Lib/lib-old/packmail.py
Lib/lib-old/tb.py
Lib/lib-old/zmod.py
Lib/lib-tk/Tkinter.py
Lib/plat-irix5/FL.py
Lib/plat-irix5/cdplayer.py
Lib/plat-irix5/flp.py
Lib/plat-irix5/jpeg.py
Lib/plat-irix5/panel.py
Lib/plat-irix5/panelparser.py
Lib/plat-irix5/readcd.py
Lib/plat-irix5/torgb.py
Lib/plat-irix6/FL.py
Lib/plat-irix6/cdplayer.py
Lib/plat-irix6/flp.py
Lib/plat-irix6/jpeg.py
Lib/plat-irix6/panel.py
Lib/plat-irix6/panelparser.py
Lib/plat-irix6/readcd.py
Lib/plat-irix6/torgb.py
Lib/test/regrtest.py
Lib/test/test_audioop.py
Lib/test/test_b1.py
Lib/test/test_b2.py
Lib/test/test_binascii.py
Lib/test/test_binhex.py
Lib/test/test_bsddb.py
Lib/test/test_grammar.py
Lib/test/test_math.py
Lib/test/test_md5.py
Lib/test/test_mmap.py
Lib/test/test_new.py
Lib/test/test_nis.py
Lib/test/test_opcodes.py
Lib/test/test_operator.py
Lib/test/test_pow.py
Lib/test/test_pty.py
Lib/test/test_pwd.py
Lib/test/test_re.py
Lib/test/test_rotor.py
Lib/test/test_sax.py
Lib/test/test_socket.py
Lib/test/test_sre.py
Lib/test/test_struct.py
Lib/test/test_support.py
Lib/test/test_time.py
Lib/test/test_types.py
Lib/test/test_unpack.py