]> granicus.if.org Git - python/commitdiff
Emphasize the requirement that Python.h be included first more strongly.
authorFred Drake <fdrake@acm.org>
Wed, 31 Mar 2004 07:45:46 +0000 (07:45 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 31 Mar 2004 07:45:46 +0000 (07:45 +0000)
Closes SF bug #837228; backporting for Python 2.3.4.

Doc/api/intro.tex
Doc/ext/extending.tex

index 364487d8c2c8d60030c8b48000db7609e8af6e0e..d27a11608369519d4e97dab60411861726df8d9e 100644 (file)
@@ -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
index 95e4546effeea410ee74eff2312fbf9ed8a02268..c50714ea88547dc67d11c059e1c412b27ad42553 100644 (file)
@@ -46,9 +46,12 @@ The first line of our file can be:
 
 which pulls in the Python API (you can add a comment describing the
 purpose of the module and a copyright notice if you like).
-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 symbols defined by \file{Python.h} have a prefix of
 \samp{Py} or \samp{PY}, except those defined in standard header files.