Skip to content

Commit 616263b

Browse files
committed
Fix typo in rect.rst
1 parent 0449cf5 commit 616263b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reST/c_api/rect.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Header file: src_c/include/pygame.h
2929
3030
The Pygame rectangle object type pygame.Rect.
3131

32-
.. c:var:: PyTypeObject *pgRFect_Type
32+
.. c:var:: PyTypeObject *pgFRect_Type
3333
3434
The Pygame rectangle object type pygame.FRect.
3535

@@ -46,7 +46,7 @@ Header file: src_c/include/pygame.h
4646
Return a new :py:class:`pygame.Rect` instance from the SDL_Rect *r*.
4747
On failure, raise a Python exception and return *NULL*.
4848
49-
.. c:function:: PyObject* pgRFect_New(SDL_FRect *r)
49+
.. c:function:: PyObject* pgFRect_New(SDL_FRect *r)
5050
5151
Return a new :py:class:`pygame.FRect` instance from the SDL_FRect *r*.
5252
On failure, raise a Python exception and return *NULL*.

0 commit comments

Comments
 (0)