[issue16440] Exception type

Yongzhi Pan report at bugs.python.org
Thu Nov 8 16:22:55 CET 2012


New submission from Yongzhi Pan:

http://docs.python.org/3/library/stdtypes.html#methods

"Attempting to set a method attribute results in a TypeError being raised."

But in the example, if we do c.method.whoami = 'c', we get AttributeError instead of TypeError.

----------
assignee: docs at python
components: Documentation
messages: 175174
nosy: docs at python, fossilet
priority: normal
severity: normal
status: open
title: Exception type
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16440>
_______________________________________


More information about the Python-bugs-list mailing list