summaryrefslogtreecommitdiff
path: root/Lib/webbrowser.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-06-02 03:04:52 +0000
committerRaymond Hettinger <python@rcn.com>2002-06-02 03:04:52 +0000
commit10ff706e2788a7c7ef9f8ea0108a5ede625fedad (patch)
treed2c08c7f262865884912dc04dd05b36656646851 /Lib/webbrowser.py
parentf13eb55d59d80907c9f86574ddd23bce2cb41ff3 (diff)
downloadcpython-git-10ff706e2788a7c7ef9f8ea0108a5ede625fedad.tar.gz
Replaced boolean tests with is None.
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r--Lib/webbrowser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index 5254289301..b562ab3d19 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