From c806d99d4938a71179d00f6812cb9b8c6a184a19 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Thu, 14 May 2020 16:18:29 +0200 Subject: [PATCH] Changed tooltip from except to raises --- src/game/Screen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Screen.py b/src/game/Screen.py index 63445bf..f17a892 100644 --- a/src/game/Screen.py +++ b/src/game/Screen.py @@ -22,7 +22,7 @@ class Screen: :param gameObject: Game object :param windowConfig: A dictionary with window settings. - :except KeyError + :raises KeyError """ self.gameObject = gameObject self.winX = windowConfig["width"] @@ -97,7 +97,7 @@ class Screen: def __initUi__(self): """ Creates entire UI - + """ self.ui = Ui(self.getUiWidth(Locations.RIGHT_UI), self.getUiWidth(Locations.LEFT_UI), self.winY, self.gameObject.ingameTimer)