Skip to content

Commit 5f9d6ec

Browse files
committed
Refactor type of icon_path in Game.__init__ docstring
1 parent 032dcf1 commit 5f9d6ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def __init__(
422422
height (int): Window height in pixels. Defaults to 600.
423423
cursor_visible (bool): Whether the mouse cursor is visible. Defaults to True.
424424
fullscreen (bool): Whether to start in fullscreen mode. Defaults to False.
425-
icon_path (Optional[str | Path]): Path to window icon image. Defaults to None.
425+
icon_path (str | Path | None): Path to window icon image. Defaults to None.
426426
IS_EDITOR (bool): Whether running in editor mode. Defaults to False.
427427
GP_BASE_PATH (str): Base path for game assets
428428

0 commit comments

Comments
 (0)