Skip to content

Commit

Permalink
Fix minor formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zoldalma999 committed Oct 22, 2024
1 parent ba4bc00 commit ae70cfa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/reST/ext/documenters.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_doc(self, encoding=None, ignore=1):

return [""]

def process_doc(self, docstrings: list[str]):
def process_doc(self, docstrings):
for docstring in docstrings:
if not docstring:
continue
Expand Down
1 change: 0 additions & 1 deletion docs/reST/ref/time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@

.. autopgclass:: Clock
:members: tick, tick_busy_loop, get_time, get_rawtime, get_fps

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ requires = [
"ninja<=1.11.1.1",
"cython<=3.0.11",
"sphinx<=7.2.6",
"autoapi<=3.3.2",
"sphinx-autoapi<=3.3.2",
]
build-backend = 'mesonpy'

Expand Down
9 changes: 5 additions & 4 deletions src_py/cursors.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,11 @@ class Cursor:
**Creating a cursor without passing arguments**
In addition to the cursor constants available and described above,
you can also call ``pygame.cursors.Cursor()``, and your cursor is ready (doing that is the same as
calling ``pygame.cursors.Cursor(pygame.SYSTEM_CURSOR_ARROW)``.
Doing one of those calls actually creates a system cursor using the default native image.
In addition to the cursor constants available and described above, you can
also call ``pygame.cursors.Cursor()``, and your cursor is ready (doing that
is the same as calling ``pygame.cursors.Cursor(pygame.SYSTEM_CURSOR_ARROW)``.
Doing one of those calls actually creates a system cursor using the default
native image.
**Creating a color cursor**
Expand Down

0 comments on commit ae70cfa

Please sign in to comment.