summaryrefslogtreecommitdiff
path: root/Lib/sgmllib.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-06-02 00:40:05 +0000
committerRaymond Hettinger <python@rcn.com>2002-06-02 00:40:05 +0000
commit2c2c5dff0241755fee977819319bec85f729d5be (patch)
tree1cda07a64f9fbe5650899945aaee88ae884d26bd /Lib/sgmllib.py
parent473b57a0d03801aae55f6e61b90b33cb2edb7f1e (diff)
downloadcpython-2c2c5dff0241755fee977819319bec85f729d5be.tar.gz
Replace boolean test with is None.
Diffstat (limited to 'Lib/sgmllib.py')
-rw-r--r--Lib/sgmllib.py2
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':