diff options
| -rw-r--r-- | Doc/library/functools.rst | 2 | ||||
| -rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index 15c4a95..93b2b4a 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -42,7 +42,7 @@ The :mod:`functools` module defines the following functions: .. function:: total_ordering(cls) Given a class defining one or more rich comparison ordering methods, this - class decorator supplies the rest. This simplies the effort involved + class decorator supplies the rest. This simplifies the effort involved in specifying all of the possible rich comparison operations: The class must define one of :meth:`__lt__`, :meth:`__le__`, @@ -91,7 +91,7 @@ Library - collections.Counter() now supports a subtract() method. - the functools module now has a total_ordering() class decorator - to simplify the specifying rich comparisons. + to simplify the specifyication of rich comparisons. - The functools module also adds cmp_to_key() as a tool to transition old-style comparison functions to new-style key-functions. |
