]> granicus.if.org Git - python/commitdiff
fix a couple nits related to my understanding of ReST. Use of
authorSkip Montanaro <skip@pobox.com>
Mon, 30 Sep 2002 15:25:13 +0000 (15:25 +0000)
committerSkip Montanaro <skip@pobox.com>
Mon, 30 Sep 2002 15:25:13 +0000 (15:25 +0000)
    ``void (*)(PyObject *)``

isn't quite the same as

    void (*)(PyObject \*)

but I gather ``...`` is preferable stylistically in most cases than
... \*...

Misc/NEWS.help

index e5d08a21d79c7265dae618855b02c91f1b44a6f2..796aab1e4f97b452efd20e3fe9d877f5c0bb07df 100644 (file)
@@ -34,8 +34,8 @@ The changes required fell into the following categories:
 * In a few places asterisks needed to be escaped which would otherwise have
   been interpreted as beginning blocks of italic or bold text, e.g.:
 
-    - The type of tp_free has been changed from "void (*)(PyObject \*)"
-      to "void (*)(void \*)".
+    - The type of tp_free has been changed from "``void (*)(PyObject *)``"
+      to "``void (*)(void *)``".
 
   Note that only the asterisks preceded by whitespace needed to be escaped.
 
@@ -52,7 +52,7 @@ The changes required fell into the following categories:
     - Note that PyLong_AsDouble can fail!  This has always been true,
       but no callers checked for it.  It's more likely to fail now,
       because overflow errors are properly detected now.  The proper way
-      to check: ::
+      to check::
 
           double x = PyLong_AsDouble(some_long_object);
           if (x == -1.0 && PyErr_Occurred()) {