diff options
author | Raymond Hettinger <python@rcn.com> | 2002-06-02 03:04:52 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-06-02 03:04:52 (GMT) |
commit | 10ff706e2788a7c7ef9f8ea0108a5ede625fedad (patch) | |
tree | d2c08c7f262865884912dc04dd05b36656646851 /Lib/webbrowser.py | |
parent | f13eb55d59d80907c9f86574ddd23bce2cb41ff3 (diff) | |
download | cpython-10ff706e2788a7c7ef9f8ea0108a5ede625fedad.zip cpython-10ff706e2788a7c7ef9f8ea0108a5ede625fedad.tar.gz cpython-10ff706e2788a7c7ef9f8ea0108a5ede625fedad.tar.bz2 |
Replaced boolean tests with is None.
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r-- | Lib/webbrowser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index 52542893..b562ab3 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py @@ -17,7 +17,7 @@ def register(name, klass, instance=None): def get(using=None): """Return a browser launcher instance appropriate for the environment.""" - if using: + if using is not None: alternatives = [using] else: alternatives = _tryorder |