]> granicus.if.org Git - python/commitdiff
#13695: fix a couple of typos in the doc.
authorEzio Melotti <ezio.melotti@gmail.com>
Mon, 16 Jan 2012 06:28:54 +0000 (08:28 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Mon, 16 Jan 2012 06:28:54 +0000 (08:28 +0200)
Doc/library/functools.rst
Doc/library/unittest.rst

index 2316e804899e91a7b711659472af880539f16b1b..7d44979662269472717578d5d8c5aa8f68da03fb 100644 (file)
@@ -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 Py2.x which supported the use of
+   tool for programs being converted from Python 2 which supported the use of
    comparison functions.
 
    A compare function is any callable that accept two arguments, compares them,
index 58338685d661c72f961ef6a526626cd07766a3f4..d2949f684b4b9d9970eda3bf8740b1489cce3e14 100644 (file)
@@ -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