Skip to content

Commit 9fae1cf

Browse files
authored
Merge pull request #3316 from Starbuck5/docs-fixes
Docs fix for time, weird generation in c api
2 parents d4c3eae + db58feb commit 9fae1cf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

buildconfig/stubs/pygame/time.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""Pygame module for monitoring time.
22
3-
Times in pygame are represented in milliseconds (1/1000 seconds). Most
4-
platforms have a limited time resolution of around 10 milliseconds. This
5-
resolution, in milliseconds, is given in the ``TIMER_RESOLUTION`` constant.
3+
Provides utilities for monitoring time, delaying time, and maintaining a
4+
constant frame rate.
5+
Times in pygame-ce are represented in milliseconds (1/1000 of a second).
66
"""
77

88
from typing import Union, final

docs/reST/c_api/base.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ C header: src_c/include/pygame.h
178178
Argument *screen* may be *NULL*.
179179
This functions is called by pygame.display.set_mode().
180180
181-
.. c:function:: PyObject* pgObject_getRectHelper(PyObject *rect, PyObject *const *args,
182-
Py_ssize_t nargs, PyObject *kwnames, char *type)
181+
.. c:function:: PyObject* pgObject_getRectHelper(PyObject *rect, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames, char *type)
183182
184183
Return a rectangle covering the entire object. Rectangle will start at (0, 0)
185184
with a width and height the same size as the object. You can pass keyword

0 commit comments

Comments
 (0)