Skip to content

Commit bed155e

Browse files
committed
Fix PyCode_GetCode() doc
1 parent c9764f5 commit bed155e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Latest version of the header file:
2727
Python 3.11
2828
-----------
2929

30-
.. c:function:: PyObject* PyCode_GetCode(PyObject *code)
30+
.. c:function:: PyObject* PyCode_GetCode(PyCodeObject *code)
3131
3232
See `PyCode_GetCode() documentation <https://docs.python.org/dev/c-api/code.html#c.PyCode_GetCode>`__.
3333

0 commit comments

Comments
 (0)