Skip to content

Commit acd5553

Browse files
authored
Merge pull request #3194 from gavinmorrow/patch-1
Fix grammar and formatting in Window docs
2 parents 27a103a + 7b26b0a commit acd5553

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reST/ref/window.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
The Window class (formerly known as _sdl2.video.Window), is a newly
1414
published feature of pygame-ce 2.5.2. This class allows for programs
15-
to drive multiple Windows on-screen at once, something not possible with
15+
to drive multiple windows on-screen at once, something not possible with
1616
the :func:`pygame.display.set_mode` API. Not everything possible with
1717
:mod:`pygame.display` is possible yet in the Window API, but the new
1818
window class will continue to be developed, and we're excited to share
@@ -59,10 +59,10 @@
5959
pygame.quit()
6060
raise SystemExit
6161
62-
Event behavior if multiple Windows are created: When the close button is
62+
Event behavior if multiple ``Window``s are created: When the close button is
6363
pressed, a ``WINDOWCLOSE`` event is sent. You need to explicitly destroy
64-
the window. Note that the event ``QUIT`` will only be sent if all Window
65-
has been destroyed.
64+
the window. Note that the event ``QUIT`` will only be sent if all ``Window``s
65+
have been destroyed.
6666
6767
.. code-block:: python
6868

0 commit comments

Comments
 (0)