summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/datetime.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/datetime.rst')
-rw-r--r--Doc/c-api/datetime.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/c-api/datetime.rst b/Doc/c-api/datetime.rst
index 510ef26..6515bab 100644
--- a/Doc/c-api/datetime.rst
+++ b/Doc/c-api/datetime.rst
@@ -10,7 +10,8 @@ Before using any of these functions, the header file :file:`datetime.h` must be
included in your source (note that this is not included by :file:`Python.h`),
and the macro :cmacro:`PyDateTime_IMPORT` must be invoked, usually as part of
the module initialisation function. The macro puts a pointer to a C structure
-into a static variable, ``PyDateTimeAPI``, that is used by the following macros.
+into a static variable, :cdata:`PyDateTimeAPI`, that is used by the following
+macros.
Type-check macros: