From: Andrew M. Kuchling Date: Thu, 26 Oct 2006 19:11:42 +0000 (+0000) Subject: [Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by... X-Git-Tag: v2.4.5c1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e250562182290e57127c9c3270391be420bd9720;p=thirdparty%2FPython%2Fcpython.git [Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by David Faure. --- diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 5e2b2e940b75..6b56844540d5 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -2730,10 +2730,10 @@ rather than explicitly calling \cfunction{PyGen_New}. Various date and time objects are supplied by the \module{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 include by \file{Python.h}), and macro \cfunction{PyDateTime_IMPORT()} -must be invoked. The macro arranges to put a pointer to a C structure -in a static variable \code{PyDateTimeAPI}, which is used by the following -macros. +not included by \file{Python.h}), and the macro +\cfunction{PyDateTime_IMPORT} must be invoked. The macro puts a +pointer to a C structure into a static variable, +\code{PyDateTimeAPI}, that is used by the following macros. Type-check macros: