diff options
author | Raymond Hettinger <python@rcn.com> | 2002-06-02 00:40:05 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-06-02 00:40:05 (GMT) |
commit | f13eb55d59d80907c9f86574ddd23bce2cb41ff3 (patch) | |
tree | 799ffe8a95c5cacd946f186f3022f380b418141d /Lib/sgmllib.py | |
parent | 1931ca72b5769ee686776617e2d97d839cc7d2d6 (diff) | |
download | cpython-f13eb55d59d80907c9f86574ddd23bce2cb41ff3.zip cpython-f13eb55d59d80907c9f86574ddd23bce2cb41ff3.tar.gz cpython-f13eb55d59d80907c9f86574ddd23bce2cb41ff3.tar.bz2 |
Replace boolean test with is None.
Diffstat (limited to 'Lib/sgmllib.py')
-rw-r--r-- | Lib/sgmllib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index bdca8a6..021c8b5 100644 --- a/Lib/sgmllib.py +++ b/Lib/sgmllib.py @@ -479,7 +479,7 @@ class TestSGMLParser(SGMLParser): def test(args = None): import sys - if not args: + if args is None: args = sys.argv[1:] if args and args[0] == '-s': |