From: Benjamin Peterson Date: Sat, 27 Nov 2010 15:39:31 +0000 (+0000) Subject: remove :c:data: which snuck in X-Git-Tag: v3.2.1b1~347^2~215 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=115b99c22256cb7e106c41d2c0d6de73cc47318c;p=thirdparty%2FPython%2Fcpython.git remove :c:data: which snuck in --- diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index 83fa5206932c..68dc9d662bd3 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -266,7 +266,7 @@ the string we just got from :cfunc:`PyArg_ParseTuple`:: sts = system(command); -Our :func:`spam.system` function must return the value of :c:data:`sts` as a +Our :func:`spam.system` function must return the value of :cdata:`sts` as a Python object. This is done using the function :cfunc:`PyLong_FromLong`. :: return PyLong_FromLong(sts);