Tipragot
628be439b8
Cela permet de ne pas avoir de problèmes de compatibilité car python est dans le git.
11 lines
166 B
Python
11 lines
166 B
Python
from typing import NamedTuple
|
|
|
|
|
|
class Region(NamedTuple):
|
|
"""Defines a rectangular region of the screen."""
|
|
|
|
x: int
|
|
y: int
|
|
width: int
|
|
height: int
|