summaryrefslogtreecommitdiffstats
path: root/Lib/webbrowser.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2008-12-05 02:47:42 (GMT)
committerFred Drake <fdrake@acm.org>2008-12-05 02:47:42 (GMT)
commit608d574828b6bfdf21eff0f5401ab044cd628dec (patch)
treedd97d8c74068130a3d0011a02eed5385c7b7a768 /Lib/webbrowser.py
parentbc9d4749f2f2af4c81c6c088a32ca5672d58a571 (diff)
downloadcpython-608d574828b6bfdf21eff0f5401ab044cd628dec.zip
cpython-608d574828b6bfdf21eff0f5401ab044cd628dec.tar.gz
cpython-608d574828b6bfdf21eff0f5401ab044cd628dec.tar.bz2
add missing import
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r--Lib/webbrowser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index 18dc11b..39f9b99 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -223,6 +223,7 @@ class UnixBrowser(BaseBrowser):
cmdline = [self.name] + raise_opt + args
if remote or self.background:
+ import io
inout = io.open(os.devnull, "r+")
else:
# for TTY browsers, we need stdin/out