1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
from typing import NamedTuple __all__ = [ "Point", "Size", ] class Point(NamedTuple): x: int y: int class Size(NamedTuple): rows: int columns: int