]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Update the code to better reflect recommended style:
authorFred Drake <fdrake@acm.org>
Tue, 12 Dec 2000 23:20:45 +0000 (23:20 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 12 Dec 2000 23:20:45 +0000 (23:20 +0000)
commit8152d32375c40bba9ccbe43b780ebe96d9617781
treef10aba5ba6f1e3064b26d2edfd6fffb45378245d
parentc140131995c67b1cd001b5c27e0095c53b1204b4
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.
36 files changed:
Lib/Cookie.py
Lib/binhex.py
Lib/calendar.py
Lib/cmd.py
Lib/commands.py
Lib/dircache.py
Lib/dospath.py
Lib/filecmp.py
Lib/ftplib.py
Lib/imputil.py
Lib/linecache.py
Lib/macpath.py
Lib/macurl2path.py
Lib/mailbox.py
Lib/mailcap.py
Lib/mhlib.py
Lib/mimetools.py
Lib/multifile.py
Lib/netrc.py
Lib/nntplib.py
Lib/ntpath.py
Lib/pdb.py
Lib/pipes.py
Lib/posixpath.py
Lib/quopri.py
Lib/regsub.py
Lib/sgmllib.py
Lib/smtplib.py
Lib/sndhdr.py
Lib/statcache.py
Lib/sunaudio.py
Lib/toaiff.py
Lib/tzparse.py
Lib/uu.py
Lib/xdrlib.py
Lib/xmllib.py