summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-12-29 11:25:38 (GMT)
committerGeorg Brandl <georg@python.org>2009-12-29 11:25:38 (GMT)
commitc2aad8ad15ee786048bd6f05ef4e49f7f05a7461 (patch)
tree017b554c8d36e53077b9bc600810d596c065ed78
parenta25658b7552e02d0def4ef1f62b5e22a3101aee3 (diff)
downloadcpython-c2aad8ad15ee786048bd6f05ef4e49f7f05a7461.zip
cpython-c2aad8ad15ee786048bd6f05ef4e49f7f05a7461.tar.gz
cpython-c2aad8ad15ee786048bd6f05ef4e49f7f05a7461.tar.bz2
Fix wrong markup.
-rw-r--r--Doc/library/ctypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index 4441696..582300c 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -513,8 +513,8 @@ to be passed by value. This is also known as *passing parameters by reference*.
:mod:`ctypes` exports the :func:`byref` function which is used to pass
parameters by reference. The same effect can be achieved with the
-:cfunc:`pointer` function, although :cfunc:`pointer` does a lot more work since
-it constructs a real pointer object, so it is faster to use :func:`byref` if you
+:func:`pointer` function, although :func:`pointer` does a lot more work since it
+constructs a real pointer object, so it is faster to use :func:`byref` if you
don't need the pointer object in Python itself::
>>> i = c_int()