[issue15248] Better explain "TypeError: 'tuple' object is not callable"

Terry J. Reedy report at bugs.python.org
Thu Jan 24 15:45:11 EST 2019


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I am not sure what you could do at the moment.  We have not yet settled whether this is a documentation or interpreter core issue.

I posted "Add more SyntaxWarnings?" to pydev to get more comments on Serhiy's patch, especially for other core developers.  Depending on what people think, that *might* result in someone converting the diff (with the typo corrected) into a PR.

I already posted here a prototype doc entry for TypeError messages.  I decided that I should take time out from IDLE to post my idea for a separate error message doc.  I will include a fleshed-out TypeError entry (with code example) as an example entry.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue15248>
_______________________________________


More information about the Python-bugs-list mailing list