]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix NULL markup.
authorRaymond Hettinger <python@rcn.com>
Sun, 7 Sep 2003 23:38:08 +0000 (23:38 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 7 Sep 2003 23:38:08 +0000 (23:38 +0000)
Doc/lib/libdl.tex
Doc/lib/libweakref.tex

index 358f0836a09b51b0a2c79903d547b6def7850853..354035eac57b805c26dc11a43da1b84d8b7e78de 100644 (file)
@@ -87,7 +87,7 @@ is useful in code like:
 Call the function named \var{name} in the referenced shared object.
 The arguments must be either Python integers, which will be 
 passed as is, Python strings, to which a pointer will be passed, 
-or \code{None}, which will be passed as \NULL.  Note that 
+or \code{None}, which will be passed as \NULL{}.  Note that 
 strings should only be passed to functions as \ctype{const char*}, as
 Python will not like its string mutated.
 
index 664b76d1a53a9a98ab1eff75c480e66a89e2a068..907e73da7da715787091d40ca61daa0899265520 100644 (file)
@@ -250,7 +250,7 @@ PyTypeObject PyInstance_Type = {
 \end{verbatim}
 
 The type constructor is responsible for initializing the weak reference
-list to \NULL:
+list to \NULL{}:
 
 \begin{verbatim}
 static PyObject * 
@@ -266,7 +266,7 @@ instance_new() {
 The only further addition is that the destructor needs to call the
 weak reference manager to clear any weak references.  This should be
 done before any other parts of the destruction have occurred, but is
-only required if the weak reference list is non-\NULL:
+only required if the weak reference list is non-\NULL{}:
 
 \begin{verbatim}
 static void