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]:
730
730
Coordinates could be negative or outside the desktop size bounds. The
731
731
position is relative to the topleft of the primary monitor and the y coordinate
732
732
ignores the window frame.
733
+
734
+ .. versionadded:: 2.5.0
733
735
"""
734
736
735
737
def set_window_position (position : Point ) -> None :
@@ -742,6 +744,8 @@ def set_window_position(position: Point) -> None:
742
744
ignore the window frame (y = 0 means the frame is hidden). The user will
743
745
still be able to move the window after this call. See also
744
746
:func:`pygame.display.get_window_position()`.
747
+
748
+ .. versionadded:: 2.5.0
745
749
"""
746
750
747
751
def get_allow_screensaver () -> bool :
Original file line number Diff line number Diff line change @@ -773,7 +773,7 @@ class Surface:
773
773
rectangle for the Surface centered at a given position. Size attributes
774
774
such as ``size`` or ``w`` can also be applied to resize the FRect.
775
775
776
- ..versionadded:: 2.3.0
776
+ .. versionadded:: 2.3.0
777
777
"""
778
778
779
779
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
526
526
This simply returns the channel id used to create the ``Channel `` instance
527
527
as a read-only attribute
528
528
529
- ..versionadded:: 2.4.0
529
+ .. versionadded :: 2.4.0
530
530
531
531
.. ## Channel.id ##
532
532
You can’t perform that action at this time.
0 commit comments