Skip to content

Commit d4f2a3a

Browse files
committed
Fix typo
1 parent 8f2ada5 commit d4f2a3a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • python-maze-solver

python-maze-solver/source_code_step_4/src/maze_solver/persistence/serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def load_squares(path: pathlib.Path) -> Iterator[Square]:
3232

3333

3434
def serialize(
35-
width: int, heigth: int, squares: tuple[Square, ...]
35+
width: int, height: int, squares: tuple[Square, ...]
3636
) -> tuple[FileHeader, FileBody]:
3737
header = FileHeader(FORMAT_VERSION, width, height)
3838
body = FileBody(array.array("B", map(compress, squares)))

python-maze-solver/source_code_step_5/src/maze_solver/persistence/serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def load_squares(path: pathlib.Path) -> Iterator[Square]:
3232

3333

3434
def serialize(
35-
width: int, heigth: int, squares: tuple[Square, ...]
35+
width: int, height: int, squares: tuple[Square, ...]
3636
) -> tuple[FileHeader, FileBody]:
3737
header = FileHeader(FORMAT_VERSION, width, height)
3838
body = FileBody(array.array("B", map(compress, squares)))

0 commit comments

Comments
 (0)