Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b65fd7

Browse files
committed
#13816: fix two minor style issues. Thanks to Justin Wehnes for the patch.
1 parent beca27a commit 3b65fd7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/functools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The :mod:`functools` module defines the following functions:
2020

2121
.. function:: cmp_to_key(func)
2222

23-
Transform an old-style comparison function to a key-function. Used with
23+
Transform an old-style comparison function to a key function. Used with
2424
tools that accept key functions (such as :func:`sorted`, :func:`min`,
2525
:func:`max`, :func:`heapq.nlargest`, :func:`heapq.nsmallest`,
2626
:func:`itertools.groupby`). This function is primarily used as a transition

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ are sequences of the same type; *n*, *i*, *j* and *k* are integers.
873873
| ``s * n, n * s`` | *n* shallow copies of *s* | \(2) |
874874
| | concatenated | |
875875
+------------------+--------------------------------+----------+
876-
| ``s[i]`` | *i*'th item of *s*, origin 0 | \(3) |
876+
| ``s[i]`` | *i*\ th item of *s*, origin 0 | \(3) |
877877
+------------------+--------------------------------+----------+
878878
| ``s[i:j]`` | slice of *s* from *i* to *j* | (3)(4) |
879879
+------------------+--------------------------------+----------+

0 commit comments

Comments
 (0)