Skip to content

Commit 25d0a81

Browse files
[docs] Fix typo for functools.cmp_to_key (GH-95766)
(cherry picked from commit f83b0ca) Co-authored-by: Andrzej Bartosiński <6197476+Neob91@users.noreply.github.com>
1 parent c6aa68f commit 25d0a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ The :mod:`functools` module defines the following functions:
119119
tool for programs being converted from Python 2 which supported the use of
120120
comparison functions.
121121

122-
A comparison function is any callable that accept two arguments, compares them,
122+
A comparison function is any callable that accepts two arguments, compares them,
123123
and returns a negative number for less-than, zero for equality, or a positive
124124
number for greater-than. A key function is a callable that accepts one
125125
argument and returns another value to be used as the sort key.

0 commit comments

Comments
 (0)