diff options
author | Skip Montanaro <skip@pobox.com> | 2002-09-30 15:25:13 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2002-09-30 15:25:13 (GMT) |
commit | b45b9feafbff2a4188caf7c8d4042f88e948bee5 (patch) | |
tree | ffa385ee87cd3a0db856a53c57215552fbd6b0a6 | |
parent | d20b66537cd6ae9602feb7c6e237a60adf75739c (diff) | |
download | cpython-b45b9feafbff2a4188caf7c8d4042f88e948bee5.zip cpython-b45b9feafbff2a4188caf7c8d4042f88e948bee5.tar.gz cpython-b45b9feafbff2a4188caf7c8d4042f88e948bee5.tar.bz2 |
fix a couple nits related to my understanding of ReST. Use of
``void (*)(PyObject *)``
isn't quite the same as
void (*)(PyObject \*)
but I gather ``...`` is preferable stylistically in most cases than
... \*...
-rw-r--r-- | Misc/NEWS.help | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Misc/NEWS.help b/Misc/NEWS.help index e5d08a2..796aab1 100644 --- a/Misc/NEWS.help +++ b/Misc/NEWS.help @@ -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()) { |