Skip to content

Commit b3a722e

Browse files
committed
Assign the correct object to sys.stdout and sys.stderr.
1 parent bc58eaa commit b3a722e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,8 +1659,8 @@ def main_curses(scr, args, config, interactive=True, locals_=None,
16591659
clirepl._C = cols
16601660

16611661
sys.stdin = FakeStdin(repl)
1662-
sys.stdout = repl
1663-
sys.stderr = repl
1662+
sys.stdout = clirepl
1663+
sys.stderr = clirepl
16641664

16651665
if args:
16661666
bpython.args.exec_code(interpreter, args)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy