]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix typo
authorBenjamin Peterson <benjamin@python.org>
Sat, 28 Jun 2008 13:18:14 +0000 (13:18 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 28 Jun 2008 13:18:14 +0000 (13:18 +0000)
Doc/whatsnew/2.6.rst

index 3e6190cb03ef61bdd8baf32a2181f5a42fdebe51..bb6034ba50b2d9ef54c91d8fbb0173bd2d110f97 100644 (file)
@@ -1284,12 +1284,12 @@ Other Language Changes
 Here are all of the changes that Python 2.6 makes to the core Python language.
 
 * The :func:`hasattr` function was catching and ignoring all errors,
-  under the assumption that they meant a :meth:`__getattr__` method has 
-  failing somewhere and the return value of :func:`hasattr` would therefore
-  be ``False``.  This logic shouldn't be applied to 
-  :exc:`KeyboardInterrupt` and :exc:`SystemExit`, however; Python 2.6 will
-  no longer discard such exceptions when :func:`hasattr` encounters them.
-  (Fixed by Benjamin Peterson; :issue:`2196`.)
+  under the assumption that they meant a :meth:`__getattr__` method
+  was failing somewhere and the return value of :func:`hasattr` would
+  therefore be ``False``.  This logic shouldn't be applied to
+  :exc:`KeyboardInterrupt` and :exc:`SystemExit`, however; Python 2.6
+  will no longer discard such exceptions when :func:`hasattr`
+  encounters them.  (Fixed by Benjamin Peterson; :issue:`2196`.)
 
 * When calling a function using the ``**`` syntax to provide keyword
   arguments, you are no longer required to use a Python dictionary;