#13695: fix a couple of typos in the doc.
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 2316e80..7d44979 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -24,7 +24,7 @@
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 from Py2.x which supported the use of
+ 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,