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

Skip to content

Commit 37c7a06

Browse files
committed
#13695: merge with 3.2.
2 parents 6f5b6d7 + 9ecb6be commit 37c7a06

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/functools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The :mod:`functools` module defines the following functions:
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
27-
tool for programs being converted from Py2.x which supported the use of
27+
tool for programs being converted from Python 2 which supported the use of
2828
comparison functions.
2929

3030
A compare function is any callable that accept two arguments, compares them,

Doc/library/unittest.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,13 +873,13 @@ Test cases
873873

874874
In addition, if *first* and *second* are the exact same type and one of
875875
list, tuple, dict, set, frozenset or str or any type that a subclass
876-
registers with :meth:`addTypeEqualityFunc` the type specific equality
876+
registers with :meth:`addTypeEqualityFunc` the type-specific equality
877877
function will be called in order to generate a more useful default
878878
error message (see also the :ref:`list of type-specific methods
879879
<type-specific-methods>`).
880880

881881
.. versionchanged:: 3.1
882-
Added the automatic calling of type specific equality function.
882+
Added the automatic calling of type-specific equality function.
883883

884884
.. versionchanged:: 3.2
885885
:meth:`assertMultiLineEqual` added as the default type equality

0 commit comments

Comments
 (0)