diff options
-rw-r--r-- | Doc/library/ctypes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 44416963c2..582300c28c 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() |