Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9ecb6beb
Commit
9ecb6beb
authored
Jan 16, 2012
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#13695: fix a couple of typos in the doc.
parent
a846d0ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Doc/library/functools.rst
Doc/library/functools.rst
+1
-1
Doc/library/unittest.rst
Doc/library/unittest.rst
+2
-2
No files found.
Doc/library/functools.rst
View file @
9ecb6beb
...
...
@@ -24,7 +24,7 @@ The :mod:`functools` module defines the following functions:
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
tool for programs being converted from Py
2.x
which supported the use of
tool for programs being converted from Py
thon 2
which supported the use of
comparison functions.
A compare function is any callable that accept two arguments, compares them,
...
...
Doc/library/unittest.rst
View file @
9ecb6beb
...
...
@@ -869,13 +869,13 @@ Test cases
In addition, if *first* and *second* are the exact same type and one of
list, tuple, dict, set, frozenset or str or any type that a subclass
registers with :meth:`addTypeEqualityFunc` the type
specific equality
registers with :meth:`addTypeEqualityFunc` the type
-
specific equality
function will be called in order to generate a more useful default
error message (see also the :ref:`list of type-specific methods
<type-specific-methods>`).
.. versionchanged:: 3.1
Added the automatic calling of type
specific equality function.
Added the automatic calling of type
-
specific equality function.
.. versionchanged:: 3.2
:meth:`assertMultiLineEqual` added as the default type equality
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment