[Python-checkins] r52446 - python/trunk/Doc/api/concrete.tex

andrew.kuchling python-checkins at python.org
Thu Oct 26 21:10:47 CEST 2006


Author: andrew.kuchling
Date: Thu Oct 26 21:10:46 2006
New Revision: 52446

Modified:
   python/trunk/Doc/api/concrete.tex
Log:
[Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation.  Reported by David Faure.

Modified: python/trunk/Doc/api/concrete.tex
==============================================================================
--- python/trunk/Doc/api/concrete.tex	(original)
+++ python/trunk/Doc/api/concrete.tex	Thu Oct 26 21:10:46 2006
@@ -2879,10 +2879,10 @@
 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:
 


More information about the Python-checkins mailing list