This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients Roy.Fox, ned.deily, terry.reedy
Date 2011-07-09.09:31:41
SpamBayes Score 0.00022957151
Marked as misclassified No
Message-id <1310203902.18.0.984438267831.issue12510@psf.upfronthosting.co.za>
In-reply-to
Content
The problem is easily reproducible.  Although it shouldn't give that error (and that can be fixed), it seems to me that IDLE should not be trying to give a calltip in that context. What it is trying to do is display the __doc__ attribute of the string but the __doc__ is really for the str() constructor:

>>> 'a'.__doc__
"str(string[, encoding[, errors]]) -> str\n\nCreate a new string object from the given encoded string.\nencoding defaults to the current default string encoding.\nerrors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'."
History
Date User Action Args
2011-07-09 09:31:42ned.deilysetrecipients: + ned.deily, terry.reedy, Roy.Fox
2011-07-09 09:31:42ned.deilysetmessageid: <1310203902.18.0.984438267831.issue12510@psf.upfronthosting.co.za>
2011-07-09 09:31:41ned.deilylinkissue12510 messages
2011-07-09 09:31:41ned.deilycreate