Index: Doc/library/functions.rst =================================================================== --- Doc/library/functions.rst (revision 61115) +++ Doc/library/functions.rst (working copy) @@ -489,9 +489,10 @@ .. function:: hasattr(object, name) The arguments are an object and a string. The result is ``True`` if the string - is the name of one of the object's attributes, ``False`` if not. (This is - implemented by calling ``getattr(object, name)`` and seeing whether it raises an - exception or not.) + is the name of one of the object's attributes, ``False`` if not. Since hasattr + is implemented by calling ``getattr(object, name)`` and seeing whether it + raises an exception or not, hasattr silences all exceptions except + :exc:`KeyboardInterrupt` and :exc:`SystemExit`. .. function:: hash(object)