[issue3224] Small typo in 2.6 what's new

Chris AtLee report at bugs.python.org
Sat Jun 28 06:01:58 CEST 2008


New submission from Chris AtLee <chris at atlee.ca>:

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 <report at bugs.python.org>
<http://bugs.python.org/issue3224>
_______________________________________


More information about the Python-bugs-list mailing list