pygame-community / pygame-ce

🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
https://pyga.me
862 stars 141 forks source link

Fix `pygame.display.get_caption()` Docs in display.rst #2765

Closed kritserv closed 6 months ago

kritserv commented 6 months ago

Hi, this is a small grammar fix. I believe this PR could be labeled with docs. using of instead of for

from

Returns the title and icontitle for the display window. In pygame 2.x these will always be the same value.

to

Returns the title and icontitle of the display window. In pygame 2.x these will always be the same value.