diff options
| author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-06-26 02:12:19 (GMT) |
|---|---|---|
| committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-06-26 02:12:19 (GMT) |
| commit | fe84f327a226bfc15e9b01df073827e136e83c59 (patch) | |
| tree | f49c99a71d37ca2f0766571193a74301ccf7bad1 | |
| parent | 82842cc46e6a117ffd58c1b546db55a27cadef26 (diff) | |
| download | cpython-fe84f327a226bfc15e9b01df073827e136e83c59.zip cpython-fe84f327a226bfc15e9b01df073827e136e83c59.tar.gz cpython-fe84f327a226bfc15e9b01df073827e136e83c59.tar.bz2 | |
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.
........
| -rw-r--r-- | Doc/c-api/datetime.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/datetime.rst b/Doc/c-api/datetime.rst index a91e3f8..c4e1e38 100644 --- a/Doc/c-api/datetime.rst +++ b/Doc/c-api/datetime.rst @@ -8,9 +8,9 @@ DateTime Objects 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: |
