Skip to content

Commit

Permalink
Fix function arg doc generation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Starbuck5 committed Jan 28, 2025
1 parent 8347509 commit b91a9d0
Showing 1 changed file with 1 addition and 2 deletions.
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 b91a9d0

Please sign in to comment.