Skip to content

Commit 21b3083

Browse files
committed
simplify!
1 parent 1c7e2d9 commit 21b3083

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/_pyrepl/readline.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,6 @@ def _is_editline_history(filename: str | IO[bytes]) -> bool:
434434
return False
435435
with open(filename, "rb") as f:
436436
return f.readline().startswith(_EDITLINE_BYTES_MARKER)
437-
return False
438437
return filename.readline().startswith(_EDITLINE_BYTES_MARKER)
439438

440439
def read_history_file(self, filename: str = gethistoryfile()) -> None:

0 commit comments

Comments
 (0)