Replace boolean test with is None.

This commit is contained in:
Raymond Hettinger 2002-06-02 00:40:05 +00:00
parent 1931ca72b5
commit f13eb55d59
6 changed files with 10 additions and 10 deletions

View file

@ -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':