Skip to content

Commit 2733685

Browse files
committed
Nitpicks.
1 parent 9da9046 commit 2733685

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

docs/reST/ref/window.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
(unrelated to INPUT_GRABBED).
4444
:param bool always_on_top: Create a window that is always presented above
4545
others.
46-
:param bool utility: Create a window that doesn't appear in the task-bar.
46+
:param bool utility: Create a window that doesn't appear in the task bar.
4747

4848
Event behavior if one Window is created: When the close button is pressed,
4949
the ``QUIT`` event will be sent to the event queue.
@@ -292,11 +292,11 @@
292292

293293
.. attribute:: utility
294294

295-
| :sl:`Get if the windos is an utility window`
295+
| :sl:`Get if the windos is an utility window (**read-only**)`
296296
| :sg:`utility -> bool`
297297
298298
``True`` if the window doesn't appear in the task bar, ``False`` otherwise.
299-
This only works for X11 and Windows, for other platforms, creating ``Window(utility=True)`` won't do anything.
299+
This only works for X11 and Windows, for other platforms, creating ``Window(utility=True)`` won't change anything.
300300

301301
.. versionadded:: TBD
302302

test/window_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from math import trunc
2-
from re import S
31
import unittest
42
import pygame
53
import os

0 commit comments

Comments
 (0)