From 9aa885c49d450a1554863f19cb274645f2a9a3fd Mon Sep 17 00:00:00 2001 From: starnakin Date: Thu, 8 Feb 2024 12:39:10 +0100 Subject: [PATCH] game: clean: type hint --- games/objects/Point.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/objects/Point.py b/games/objects/Point.py index 08a10da..d88de2a 100644 --- a/games/objects/Point.py +++ b/games/objects/Point.py @@ -23,7 +23,7 @@ class Point: return Point(self.x, self.y) - def to_dict(self): + def to_dict(self) -> dict: data: dict[str: float] = { "x": self.x,