mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +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
|
||||
|
||||
if remote or self.background:
|
||||
import io
|
||||
inout = io.open(os.devnull, "r+")
|
||||
else:
|
||||
# for TTY browsers, we need stdin/out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue