Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c616151

Browse files
committed
Revert to use sys.stdin, sys.stdout instead of their double underscored
version, i.e. sys.__stdin__ and sys.__stdout__. It seems Pythonista does not recognize the double underscored version properly. No output will be displayed if they are used.
1 parent d6f5e51 commit c616151

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stash.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
_IN_PYTHONISTA = False
2828

2929

30-
_STDIN = sys.__stdin__
31-
_STDOUT = sys.__stdout__
32-
_STDERR = sys.__stderr__
30+
_STDIN = sys.stdin
31+
_STDOUT = sys.stdout
32+
_STDERR = sys.stderr
3333

3434

3535
_DEBUG_RUNTIME = False

0 commit comments

Comments
 (0)