diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-10-26 19:10:46 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-10-26 19:10:46 (GMT) |
commit | acde6102c4ce5a331673ef3491babdf36dedfff7 (patch) | |
tree | 8f53742961ba07cccfd5ab7739bbb1e05d5839aa /Doc/api | |
parent | a32e0a099bb85ab355bdebd7c494060c1cfc0171 (diff) | |
download | cpython-acde6102c4ce5a331673ef3491babdf36dedfff7.zip cpython-acde6102c4ce5a331673ef3491babdf36dedfff7.tar.gz cpython-acde6102c4ce5a331673ef3491babdf36dedfff7.tar.bz2 |
[Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by David Faure.
Diffstat (limited to 'Doc/api')
-rw-r--r-- | Doc/api/concrete.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 764c6aa..97ef134 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -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: |