8000 Fix typo · quickpanda/Clean-Code-in-Python@2730f0b · GitHub
[go: up one dir, main page]

Skip to content

Commit 2730f0b

Browse files
authored
Fix typo
Fix typo of height in __init__ method.
1 parent 5617023 commit 2730f0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Chapter02/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def mark_coordinate(grid, coord):
1212
class Boundaries:
1313
def __init__(self, width, height):
1414
self.width = width
15-
self.height = heigh
15+
self.height = height
1616

1717
def __contains__(self, coord):
1818
x, y = coord

0 commit comments

Comments
 (0)
0