File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff 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
735737def 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
747751def get_allow_screensaver () -> bool :
Original file line number Diff line number Diff line change @@ -773,7 +773,7 @@ class Surface:
773773 rectangle for the Surface centered at a given position. Size attributes
774774 such as ``size`` or ``w`` can also be applied to resize the FRect.
775775
776- ..versionadded:: 2.3.0
776+ .. versionadded:: 2.3.0
777777 """
778778
779779 def get_bitsize (self ) -> int :
Original file line number Diff line number Diff line change @@ -526,7 +526,7 @@ The following file formats are supported
526526 This simply returns the channel id used to create the ``Channel `` instance
527527 as a read-only attribute
528528
529- ..versionadded:: 2.4.0
529+ .. versionadded :: 2.4.0
530530
531531 .. ## Channel.id ##
532532
You can’t perform that action at this time.
0 commit comments