[Python-checkins] cpython (3.2): #13816: fix two minor style issues. Thanks to Justin Wehnes for the patch.

georg.brandl python-checkins at python.org
Mon Jan 23 20:21:53 CET 2012


http://hg.python.org/cpython/rev/a72ca8b23cdf
changeset: 74582:a72ca8b23cdf
branch: 3.2
parent: 74579:960d93deb8c2
user: Georg Brandl <georg at python.org>
date: Mon Jan 23 20:19:33 2012 +0100
summary:
 #13816: fix two minor style issues. Thanks to Justin Wehnes for the patch.
files:
 Doc/library/functools.rst | 2 +-
 Doc/library/stdtypes.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -20,7 +20,7 @@
 
 .. function:: cmp_to_key(func)
 
- Transform an old-style comparison function to a key-function. Used with
+ Transform an old-style comparison function to a key function. Used with
 tools that accept key functions (such as :func:`sorted`, :func:`min`,
 :func:`max`, :func:`heapq.nlargest`, :func:`heapq.nsmallest`,
 :func:`itertools.groupby`). This function is primarily used as a transition
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -873,7 +873,7 @@
 | ``s * n, n * s`` | *n* shallow copies of *s* | \(2) |
 | | concatenated | |
 +------------------+--------------------------------+----------+
-| ``s[i]`` | *i*'th item of *s*, origin 0 | \(3) |
+| ``s[i]`` | *i*\ th item of *s*, origin 0 | \(3) |
 +------------------+--------------------------------+----------+
 | ``s[i:j]`` | slice of *s* from *i* to *j* | (3)(4) |
 +------------------+--------------------------------+----------+
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /