We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de89b7d commit 6647524Copy full SHA for 6647524
bpython/curtsiesfrontend/repl.py
@@ -39,6 +39,7 @@
39
from bpython.keys import cli_key_dispatch as key_dispatch
40
41
class FakeStdin(object):
42
+ """Stdin object user code references so sys.stdin.read() asked user for interactive input"""
43
def __init__(self, coderunner, repl):
44
self.coderunner = coderunner
45
self.repl = repl
@@ -111,6 +112,7 @@ def write(self, value):
111
112
#TODO write a read() method
113
114
class ReevaluateFakeStdin(object):
115
+ """Stdin mock used during reevaluation (undo) so raw_inputs don't have to be reentered"""
116
def __init__(self, fakestdin, repl):
117
self.fakestdin = fakestdin
118
0 commit comments