mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
add missing import
This commit is contained in:
parent
bc9d4749f2
commit
608d574828
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@ class UnixBrowser(BaseBrowser):
|
||||||
cmdline = [self.name] + raise_opt + args
|
cmdline = [self.name] + raise_opt + args
|
||||||
|
|
||||||
if remote or self.background:
|
if remote or self.background:
|
||||||
|
import io
|
||||||
inout = io.open(os.devnull, "r+")
|
inout = io.open(os.devnull, "r+")
|
||||||
else:
|
else:
|
||||||
# for TTY browsers, we need stdin/out
|
# for TTY browsers, we need stdin/out
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue