Skip to content

Commit

Permalink
Merge pull request #3316 from Starbuck5/docs-fixes
Browse files Browse the repository at this point in the history
Docs fix for time, weird generation in c api
  • Loading branch information
ankith26 authored Jan 29, 2025
2 parents d4c3eae + db58feb commit 9fae1cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions buildconfig/stubs/pygame/time.pyi
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""Pygame module for monitoring time.
Times in pygame are represented in milliseconds (1/1000 seconds). Most
platforms have a limited time resolution of around 10 milliseconds. This
resolution, in milliseconds, is given in the ``TIMER_RESOLUTION`` constant.
Provides utilities for monitoring time, delaying time, and maintaining a
constant frame rate.
Times in pygame-ce are represented in milliseconds (1/1000 of a second).
"""

from typing import Union, final
Expand Down
3 changes: 1 addition & 2 deletions docs/reST/c_api/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ C header: src_c/include/pygame.h
Argument *screen* may be *NULL*.
This functions is called by pygame.display.set_mode().
.. c:function:: PyObject* pgObject_getRectHelper(PyObject *rect, PyObject *const *args,
Py_ssize_t nargs, PyObject *kwnames, char *type)
.. c:function:: PyObject* pgObject_getRectHelper(PyObject *rect, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames, char *type)
Return a rectangle covering the entire object. Rectangle will start at (0, 0)
with a width and height the same size as the object. You can pass keyword
Expand Down

0 comments on commit 9fae1cf

Please sign in to comment.