Skip to content

Commit f83b0ca

Browse files
authored
Fix documentation typo for functools.cmp_to_key (GH-95766)
1 parent 330f1d5 commit f83b0ca

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)