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