summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-03-31 07:45:46 (GMT)
committerFred Drake <fdrake@acm.org>2004-03-31 07:45:46 (GMT)
commit34c43202eb0c7b369c2019f99b99bd1313ec503f (patch)
treea506a84c3cfac7de533de24acb174dfaa83473df /Doc/api
parent203b10c75a4bed11b72e909857084f326c9dad1c (diff)
downloadcpython-34c43202eb0c7b369c2019f99b99bd1313ec503f.zip
cpython-34c43202eb0c7b369c2019f99b99bd1313ec503f.tar.gz
cpython-34c43202eb0c7b369c2019f99b99bd1313ec503f.tar.bz2
Emphasize the requirement that Python.h be included first more strongly.
Closes SF bug #837228; backporting for Python 2.3.4.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/intro.tex9
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/api/intro.tex b/Doc/api/intro.tex
index 364487d..d27a116 100644
--- a/Doc/api/intro.tex
+++ b/Doc/api/intro.tex
@@ -37,9 +37,12 @@ API are included in your code by the following line:
This implies inclusion of the following standard headers:
\code{<stdio.h>}, \code{<string.h>}, \code{<errno.h>},
\code{<limits.h>}, and \code{<stdlib.h>} (if available).
-Since Python may define some pre-processor definitions which affect
-the standard headers on some systems, you must include \file{Python.h}
-before any standard headers are included.
+
+\begin{notice}[warning]
+ Since Python may define some pre-processor definitions which affect
+ the standard headers on some systems, you \emph{must} include
+ \file{Python.h} before any standard headers are included.
+\end{notice}
All user visible names defined by Python.h (except those defined by
the included standard headers) have one of the prefixes \samp{Py} or