]> 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:21:24 +0000 (08:21 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Mon, 16 Jan 2012 06:21:24 +0000 (08:21 +0200)
Doc/library/functools.rst
Doc/library/unittest.rst

index 10c984fd4f10658978abd9f52a6518e1da15ba1d..09e6a3b04f6686d3f4983b4c17e739e79814cf83 100644 (file)
@@ -26,8 +26,8 @@ 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 to Py3.x where comparison functions are no
-   longer supported.
+   tool for programs being converted to Python 3 where comparison functions are
+   no longer supported.
 
    A compare function is any callable that accept two arguments, compares them,
    and returns a negative number for less-than, zero for equality, or a positive
index 787d1a61f43a4bfc0254d2d7a6d3b4b5bba27162..244dc4374c428fe8af367f14dea0aa41b7744e7c 100644 (file)
@@ -840,13 +840,13 @@ Test cases
 
       In addition, if *first* and *second* are the exact same type and one of
       list, tuple, dict, set, frozenset or unicode 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:: 2.7
-         Added the automatic calling of type specific equality function.
+         Added the automatic calling of type-specific equality function.
 
 
    .. method:: assertNotEqual(first, second, msg=None)