Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2960571

Browse files
committed
Merged revisions 82238 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ................ r82238 | alexander.belopolsky | 2010-06-25 22:15:07 -0400 (Fri, 25 Jun 2010) | 11 lines Merged revisions 82236 via svnmerge from svn+ssh://[email protected]/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. ........ ................
1 parent a5b2dcf commit 2960571

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/c-api/datetime.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ DateTime Objects
88
Various date and time objects are supplied by the :mod:`datetime` module.
99
Before using any of these functions, the header file :file:`datetime.h` must be
1010
included in your source (note that this is not included by :file:`Python.h`),
11-
and the macro :cfunc:`PyDateTime_IMPORT` must be invoked. The macro puts a
12-
pointer to a C structure into a static variable, ``PyDateTimeAPI``, that is
13-
used by the following macros.
11+
and the macro :cmacro:`PyDateTime_IMPORT` must be invoked, usually as part of
12+
the module initialisation function. The macro puts a pointer to a C structure
13+
into a static variable, ``PyDateTimeAPI``, that is used by the following macros.
1414

1515
Type-check macros:
1616

0 commit comments

Comments
 (0)