summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2020-05-03 07:28:16 +0200
committerStefan Behnel <stefan_ml@behnel.de>2020-05-03 07:28:16 +0200
commitd62bc77b3106f6c551cd7258b734b8b0efde8acb (patch)
treef545cf8623f501209fed710683a37ee8e57ae42b
parent3e6e8c01359db0b79e44c54a3dd01291bb996e4d (diff)
downloadcython-d62bc77b3106f6c551cd7258b734b8b0efde8acb.tar.gz
Fix include file reference in docs.
-rw-r--r--docs/src/userguide/language_basics.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/userguide/language_basics.rst b/docs/src/userguide/language_basics.rst
index 621a94de8..3ac1062d7 100644
--- a/docs/src/userguide/language_basics.rst
+++ b/docs/src/userguide/language_basics.rst
@@ -291,7 +291,7 @@ about object parameters in C functions.
To create a borrowed reference, specify the parameter type as ``PyObject*``.
Cython won't perform automatic ``Py_INCREF``, or ``Py_DECREF``, e.g.:
-.. literalinclude:: ../../examples/userguide/language_basics/parameter_refcount.pxd
+.. literalinclude:: ../../examples/userguide/language_basics/parameter_refcount.pyx
will display::