Skip to content

Commit c10ebb7

Browse files
ulisesojedasebastinas
authored andcommitted
adjusting annotations
1 parent 624a1e1 commit c10ebb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def add_input_character(self, e: str) -> None:
179179
)
180180
self.cursor_offset += 1
181181

182-
def readline(self, size: int = -1) -> str:
182+
def readline(self, size: int = -1) -> Union[str, Any]:
183183
if not isinstance(size, int):
184184
raise TypeError(
185185
f"'{type(size).__name__}' object cannot be interpreted as an integer"

0 commit comments

Comments
 (0)