We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebc9206 commit c0412f6Copy full SHA for c0412f6
bpython/curtsiesfrontend/repl.py
@@ -181,9 +181,11 @@ def add_input_character(self, e: str) -> None:
181
182
def readline(self, size=-1):
183
if not isinstance(size, int):
184
- raise TypeError(f"'{type(size).__name__}' object cannot be interpreted as an integer")
+ raise TypeError(
185
+ f"'{type(size).__name__}' object cannot be interpreted as an integer"
186
+ )
187
elif size == 0:
- return ''
188
+ return ""
189
else:
190
self.has_focus = True
191
self.repl.send_to_stdin(self.current_line)
0 commit comments