[Python-checkins] r82237 - in python/branches/release26-maint: Doc/c-api/datetime.rst
alexander.belopolsky
python-checkins at python.org
Sat Jun 26 04:12:19 CEST 2010
Author: alexander.belopolsky
Date: Sat Jun 26 04:12:19 2010
New Revision: 82237
Log:
Merged revisions 82236 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82236 | alexander.belopolsky | 2010-06-25 22:05:19 -0400 (Fri, 25 Jun 2010) | 4 lines
Issue #9024: Fixed mark-up for PyDateTime_IMPORT macro and added that
it is typically used in module initialization function. Thanks Tim
Golden for the patch.
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Doc/c-api/datetime.rst
Modified: python/branches/release26-maint/Doc/c-api/datetime.rst
==============================================================================
--- python/branches/release26-maint/Doc/c-api/datetime.rst (original)
+++ python/branches/release26-maint/Doc/c-api/datetime.rst Sat Jun 26 04:12:19 2010
@@ -8,9 +8,9 @@
Various date and time objects are supplied by the :mod:`datetime` module.
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 :cfunc:`PyDateTime_IMPORT` must be invoked. The macro puts a
-pointer to a C structure into a static variable, ``PyDateTimeAPI``, that is
-used by the following macros.
+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.
Type-check macros:
More information about the Python-checkins
mailing list