[Python-checkins] r79951 - in python/trunk: Doc/library/functools.rst Misc/NEWS
andrew.kuchling
python-checkins at python.org
Sun Apr 11 14:48:08 CEST 2010
Author: andrew.kuchling
Date: Sun Apr 11 14:48:08 2010
New Revision: 79951
Log:
Two typo fixes
Modified:
python/trunk/Doc/library/functools.rst
python/trunk/Misc/NEWS
Modified: python/trunk/Doc/library/functools.rst
==============================================================================
--- python/trunk/Doc/library/functools.rst (original)
+++ python/trunk/Doc/library/functools.rst Sun Apr 11 14:48:08 2010
@@ -42,7 +42,7 @@
.. 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__`,
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Sun Apr 11 14:48:08 2010
@@ -91,7 +91,7 @@
- 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.
More information about the Python-checkins
mailing list