Skip to content

Commit db8983f

Browse files
committed
Add versionadded
1 parent 94f7d37 commit db8983f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

buildconfig/stubs/pygame/display.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,8 @@ def get_window_position() -> tuple[int, int]:
730730
Coordinates could be negative or outside the desktop size bounds. The
731731
position is relative to the topleft of the primary monitor and the y coordinate
732732
ignores the window frame.
733+
734+
.. versionadded:: 2.5.0
733735
"""
734736

735737
def set_window_position(position: Point) -> None:
@@ -742,6 +744,8 @@ def set_window_position(position: Point) -> None:
742744
ignore the window frame (y = 0 means the frame is hidden). The user will
743745
still be able to move the window after this call. See also
744746
:func:`pygame.display.get_window_position()`.
747+
748+
.. versionadded:: 2.5.0
745749
"""
746750

747751
def get_allow_screensaver() -> bool:

0 commit comments

Comments
 (0)