New submission from Chris AtLee [EMAIL PROTECTED]:
Index: Doc/whatsnew/2.6.rst
===
--- Doc/whatsnew/2.6.rst(revision 64571)
+++ Doc/whatsnew/2.6.rst(working copy)
@@ -1284,7 +1284,7 @@
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
+ 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
--
assignee: georg.brandl
components: Documentation
messages: 68868
nosy: catlee, georg.brandl
severity: normal
status: open
title: Small typo in 2.6 what's new
versions: Python 2.6
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3224
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com