diff options
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': |