[issue30477] tuple.index error message improvement

Brett Cannon report at bugs.python.org
Thu May 25 18:48:56 EDT 2017


Brett Cannon added the comment:

I'm wondering if including the whole "tuple.index(%R)" part is still necessary? The traceback will tell you what method you called, so wouldn't "%R not in tuple" be enough?

----------
components: +Interpreter Core
type:  -> enhancement

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


More information about the Python-bugs-list mailing list