diff options
Diffstat (limited to 'Doc/c-api/method.rst')
-rw-r--r-- | Doc/c-api/method.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/method.rst b/Doc/c-api/method.rst index 93ad30c..0d75ab8 100644 --- a/Doc/c-api/method.rst +++ b/Doc/c-api/method.rst @@ -7,8 +7,8 @@ Instance Method Objects .. index:: pair: object; instancemethod -An instance method is a wrapper for a :c:data:`PyCFunction` and the new way -to bind a :c:data:`PyCFunction` to a class object. It replaces the former call +An instance method is a wrapper for a :c:type:`PyCFunction` and the new way +to bind a :c:type:`PyCFunction` to a class object. It replaces the former call ``PyMethod_New(func, NULL, class)``. |