summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-06-26 18:49:10 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-06-26 18:49:10 (GMT)
commit21887dfc1af1240580f7c418c0cb813a9e5657c0 (patch)
tree83e8ccbaab9a142b0fb304ceb46831103587f790
parent2f06b78d61e58f39c2833048e7eab45ae6a93e57 (diff)
downloadcpython-21887dfc1af1240580f7c418c0cb813a9e5657c0.zip
cpython-21887dfc1af1240580f7c418c0cb813a9e5657c0.tar.gz
cpython-21887dfc1af1240580f7c418c0cb813a9e5657c0.tar.bz2
Issue 9024: Added :cdata: tag to PyDateTimeAPI
-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 c4e1e38..0e9b376 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: