]> granicus.if.org Git - python/commitdiff
[Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by...
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 26 Oct 2006 19:11:06 +0000 (19:11 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 26 Oct 2006 19:11:06 +0000 (19:11 +0000)
Doc/api/concrete.tex

index 764c6aa90fd90f94ec41fc9317ec3bd0b560d45f..97ef1341ec42c3f11848c051b36ac65ab91bebaf 100644 (file)
@@ -2879,10 +2879,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: