Skip to content

Commit 7b26b0a

Browse files
authored
Add code block around Window
Review comments
1 parent 4734eca commit 7b26b0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/reST/ref/window.rst

Lines changed: 3 additions & 3 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,9 +59,9 @@
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 Windows
64+
the window. Note that the event ``QUIT`` will only be sent if all ``Window``s
6565
have been destroyed.
6666
6767
.. code-block:: python

0 commit comments

Comments
 (0)