Two typo fixes

This commit is contained in:
Andrew M. Kuchling 2010-04-11 12:48:08 +00:00
parent f11363dcd3
commit 884d0a3c27
2 changed files with 2 additions and 2 deletions

View File

@ -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__`,

View File

@ -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.