summaryrefslogtreecommitdiffstats
path: root/Doc/ext/extending.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/ext/extending.tex')
-rw-r--r--Doc/ext/extending.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/ext/extending.tex b/Doc/ext/extending.tex
index 57adc15..c3d3ab0 100644
--- a/Doc/ext/extending.tex
+++ b/Doc/ext/extending.tex
@@ -290,7 +290,8 @@ are objects on the heap in Python!)
If you have a C function that returns no useful argument (a function
returning \ctype{void}), the corresponding Python function must return
-\code{None}. You need this idiom to do so:
+\code{None}. You need this idiom to do so (which is implemented by the
+\csimplemacro{Py_RETURN_NONE} macro):
\begin{verbatim}
Py_INCREF(Py_None);