diff options
author | Raymond Hettinger <python@rcn.com> | 2002-06-02 00:40:05 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-06-02 00:40:05 +0000 |
commit | 2c2c5dff0241755fee977819319bec85f729d5be (patch) | |
tree | 1cda07a64f9fbe5650899945aaee88ae884d26bd /Lib/sgmllib.py | |
parent | 473b57a0d03801aae55f6e61b90b33cb2edb7f1e (diff) | |
download | cpython-2c2c5dff0241755fee977819319bec85f729d5be.tar.gz |
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 bdca8a60b7..021c8b5cf6 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': |