diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2010-04-11 12:48:08 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2010-04-11 12:48:08 (GMT) |
commit | 884d0a3c2743e1355c33524ad8986b6fb90e6763 (patch) | |
tree | d80fa9f8ce637d02f2750fc7840d17eede918653 | |
parent | f11363dcd3636f93a60d133bca0f67d9de6b7934 (diff) | |
download | cpython-884d0a3c2743e1355c33524ad8986b6fb90e6763.zip cpython-884d0a3c2743e1355c33524ad8986b6fb90e6763.tar.gz cpython-884d0a3c2743e1355c33524ad8986b6fb90e6763.tar.bz2 |
Two typo fixes
-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. |