Skip to content

Commit db58feb

Browse files
committed
Fix function arg doc generation
The second line of arguments was being seen as a whole new function, rather than part of the first thing. So I moved all arguments to one (long) line.
1 parent de551bc commit db58feb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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)