diff --git a/README.md b/README.md index 455829c..aa02bfb 100644 --- a/README.md +++ b/README.md @@ -1065,9 +1065,10 @@ def draw(screen): pass def get_border(screen): - Coords = collections.namedtuple('Coords', ['x', 'y']) + from collections import namedtuple + P = namedtuple('P', 'x y') height, width = screen.getmaxyx() - return Coords(width - 1, height - 1) + return P(width - 1, height - 1) ``` Image