Message140056
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'." |
|
Date |
User |
Action |
Args |
2011-07-09 09:31:42 | ned.deily | set | recipients:
+ ned.deily, terry.reedy, Roy.Fox |
2011-07-09 09:31:42 | ned.deily | set | messageid: <1310203902.18.0.984438267831.issue12510@psf.upfronthosting.co.za> |
2011-07-09 09:31:41 | ned.deily | link | issue12510 messages |
2011-07-09 09:31:41 | ned.deily | create | |
|