aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-26 23:03:40 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-26 23:03:40 +0200
commitb554a68e1c1f34b3d993eb10ccbd3fe307e9ebbe (patch)
treef5db4b7f8fa2fc6a216cf214e7d0986ffd6725f9
parent1bb5d4e2d854b7af88f862a853b79ba1e2146996 (diff)
Remove trailing whitespace
-rwxr-xr-xyahoozy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yahoozy.py b/yahoozy.py
index f305038..7a5ee78 100755
--- a/yahoozy.py
+++ b/yahoozy.py
@@ -781,7 +781,7 @@ def game_end(rs: RenderState, body_win) -> None:
def histhandle(mode: str) -> TextIO:
"""Return a handle to the history file with MODE.
-
+
If the history file doesn’t exist this function will create the
necessary directories. This function makes sure to abide by system-
specific convensions.
@@ -817,7 +817,7 @@ def savehist(fp: TextIO, xs: list[LBEntry]) -> None:
def loadhist(fp: TextIO, n: int = -1) -> list[LBEntry]:
"""Load the first N history entries from FP.
-
+
If N is omitted this function returns all entries in FP.
"""
xs: list[LBEntry] = []