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

Skip to content

Commit 6c89a79

Browse files
committed
#13852: some small doc fixes.
1 parent b4b0b35 commit 6c89a79

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/functools.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
:mod:`functools` --- Higher order functions and operations on callable objects
1+
:mod:`functools` --- Higher-order functions and operations on callable objects
22
==============================================================================
33

44
.. module:: functools
5-
:synopsis: Higher order functions and operations on callable objects.
5+
:synopsis: Higher-order functions and operations on callable objects.
66
.. moduleauthor:: Peter Harris <[email protected]>
77
.. moduleauthor:: Raymond Hettinger <[email protected]>
88
.. moduleauthor:: Nick Coghlan <[email protected]>
@@ -27,7 +27,7 @@ The :mod:`functools` module defines the following functions:
2727
tool for programs being converted from Python 2 which supported the use of
2828
comparison functions.
2929

30-
A compare function is any callable that accept two arguments, compares them,
30+
A comparison function is any callable that accept two arguments, compares them,
3131
and returns a negative number for less-than, zero for equality, or a positive
3232
number for greater-than. A key function is a callable that accepts one
3333
argument and returns another value indicating the position in the desired

0 commit comments

Comments
 (0)