Commits

Georg Brandl committed 5b88000

#13852: some small doc fixes.

  • Participants
  • Parent commits 2790c3f
  • Branches 3.2

Comments (0)

Files changed (1)

Doc/library/functools.rst

-:mod:`functools` --- Higher order functions and operations on callable objects
+:mod:`functools` --- Higher-order functions and operations on callable objects
 ==============================================================================
 
 .. module:: functools
-   :synopsis: Higher order functions and operations on callable objects.
+   :synopsis: Higher-order functions and operations on callable objects.
 .. moduleauthor:: Peter Harris <scav@blueyonder.co.uk>
 .. moduleauthor:: Raymond Hettinger <python@rcn.com>
 .. moduleauthor:: Nick Coghlan <ncoghlan@gmail.com>
    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,
+   A comparison function is any callable that accept two arguments, compares them,
    and returns a negative number for less-than, zero for equality, or a positive
    number for greater-than.  A key function is a callable that accepts one
    argument and returns another value indicating the position in the desired