[Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by David Faure.

This commit is contained in:
Andrew M. Kuchling 2006-10-26 19:10:46 +00:00
parent a32e0a099b
commit acde6102c4
1 changed files with 4 additions and 4 deletions

View File

@ -2879,10 +2879,10 @@ rather than explicitly calling \cfunction{PyGen_New}.
Various date and time objects are supplied by the \module{datetime} Various date and time objects are supplied by the \module{datetime}
module. Before using any of these functions, the header file module. Before using any of these functions, the header file
\file{datetime.h} must be included in your source (note that this is \file{datetime.h} must be included in your source (note that this is
not include by \file{Python.h}), and macro \cfunction{PyDateTime_IMPORT()} not included by \file{Python.h}), and the macro
must be invoked. The macro arranges to put a pointer to a C structure \cfunction{PyDateTime_IMPORT} must be invoked. The macro puts a
in a static variable \code{PyDateTimeAPI}, which is used by the following pointer to a C structure into a static variable,
macros. \code{PyDateTimeAPI}, that is used by the following macros.
Type-check macros: Type-check macros: