Skip to content

Commit 5fc61d4

Browse files
Update Doc/c-api/gen.rst
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 3a6200c commit 5fc61d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/gen.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ than explicitly calling :c:func:`PyGen_New` or :c:func:`PyGen_NewWithQualName`.
4545
A reference to *frame* is stolen by this function. The *frame* argument
4646
must not be ``NULL``.
4747
48-
.. c:function:: PyCodeObject *PyGen_GetCode(PyGenObject *gen)
48+
.. c:function:: PyCodeObject* PyGen_GetCode(PyGenObject *gen)
4949
5050
Return a new :term:`strong reference` to the code object wrapped by *gen*.
5151
This function always succeeds.

0 commit comments

Comments
 (0)