Skip to content

Commit 6647524

Browse files
add docstrings to objects
1 parent de89b7d commit 6647524

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
from bpython.keys import cli_key_dispatch as key_dispatch
4040

4141
class FakeStdin(object):
42+
"""Stdin object user code references so sys.stdin.read() asked user for interactive input"""
4243
def __init__(self, coderunner, repl):
4344
self.coderunner = coderunner
4445
self.repl = repl
@@ -111,6 +112,7 @@ def write(self, value):
111112
#TODO write a read() method
112113

113114
class ReevaluateFakeStdin(object):
115+
"""Stdin mock used during reevaluation (undo) so raw_inputs don't have to be reentered"""
114116
def __init__(self, fakestdin, repl):
115117
self.fakestdin = fakestdin
116118
self.repl = repl

0 commit comments

Comments
 (0)