From: Andrew M. Kuchling Date: Sun, 11 Apr 2010 12:48:08 +0000 (+0000) Subject: Two typo fixes X-Git-Tag: v2.7b2~312 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=884d0a3c2743e1355c33524ad8986b6fb90e6763;p=thirdparty%2FPython%2Fcpython.git Two typo fixes --- diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index 15c4a95ab498..93b2b4ae8b76 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__`, diff --git a/Misc/NEWS b/Misc/NEWS index 549d1b0401ae..6392cea5ac4c 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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.