Skip to content

Commit c0412f6

Browse files
ulises-blacklanesebastinas
authored andcommitted
Applying black
1 parent ebc9206 commit c0412f6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,11 @@ def add_input_character(self, e: str) -> None:
181181

182182
def readline(self, size=-1):
183183
if not isinstance(size, int):
184-
raise TypeError(f"'{type(size).__name__}' object cannot be interpreted as an integer")
184+
raise TypeError(
185+
f"'{type(size).__name__}' object cannot be interpreted as an integer"
186+
)
185187
elif size == 0:
186-
return ''
188+
return ""
187189
else:
188190
self.has_focus = True
189191
self.repl.send_to_stdin(self.current_line)

0 commit comments

Comments
 (0)