summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2002-09-30 15:23:01 (GMT)
committerSkip Montanaro <skip@pobox.com>2002-09-30 15:23:01 (GMT)
commita2a07bce895c36749fc9f96f384dcba1844ff3d4 (patch)
treeec388fff4cb24cc1ff2c84e42d72a691af8bf294 /Misc
parentd61888b60a9c35e452b0d13ba2336d9d96459c7e (diff)
downloadcpython-a2a07bce895c36749fc9f96f384dcba1844ff3d4.zip
cpython-a2a07bce895c36749fc9f96f384dcba1844ff3d4.tar.gz
cpython-a2a07bce895c36749fc9f96f384dcba1844ff3d4.tar.bz2
fix a couple nits with my use of ReST
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS12
1 files changed, 6 insertions, 6 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 04f7876..ebe3512 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -170,7 +170,7 @@ Core and builtins
precedes B in the list at the start, A precedes B after the sort too),
although the language definition does not guarantee stability. A
potential drawback is that list.sort() may require temp space of
- len(list)*2 bytes (\*4 on a 64-bit machine). It's therefore possible
+ len(list)*2 bytes (``*4`` on a 64-bit machine). It's therefore possible
for list.sort() to raise MemoryError now, even if a comparison function
does not. See <http://www.python.org/sf/587076> for full details.
@@ -610,8 +610,8 @@ C API
coercion if both arguments have the same type but this type has the
CHECKTYPES flag set. This is to better support proxies.
-- 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 *)``".
- PyObject_Del, PyObject_GC_Del are now functions instead of macros.
@@ -1341,7 +1341,7 @@ Windows
- The signal module now supports SIGBREAK on Windows, thanks to Steven
Scott. Note that SIGBREAK is unique to Windows. The default SIGBREAK
action remains to call Win32 ExitProcess(). This can be changed via
- signal.signal(). For example: ::
+ signal.signal(). For example::
# Make Ctrl+Break raise KeyboardInterrupt, like Python's default Ctrl+C
# (SIGINT) behavior.
@@ -1707,7 +1707,7 @@ C API
- 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: ::
+ errors are properly detected now. The proper way to check::
double x = PyLong_AsDouble(some_long_object);
if (x == -1.0 && PyErr_Occurred()) {
@@ -2041,7 +2041,7 @@ Core
Iterating over a file generates its lines.
- The following functions were generalized to work nicely with iterator
- arguments: ::
+ arguments::
map(), filter(), reduce(), zip()
list(), tuple() (PySequence_Tuple() and PySequence_Fast() in C API)