diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-01-22 02:13:25 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-01-22 02:13:25 (GMT) |
commit | 45726d3011ab00c0c223fd0a4e93ae7135ba66bf (patch) | |
tree | 3fa4ae5340f08c2ec3c27f871e027fd32514854a | |
parent | 3f440de7d3758d2c5cfa9809271da60ed6182ec6 (diff) | |
parent | 0e3b0e397e7bd986e2284e2b9ed2be00b404019c (diff) | |
download | cpython-45726d3011ab00c0c223fd0a4e93ae7135ba66bf.zip cpython-45726d3011ab00c0c223fd0a4e93ae7135ba66bf.tar.gz cpython-45726d3011ab00c0c223fd0a4e93ae7135ba66bf.tar.bz2 |
Merge with 3.3
-rw-r--r-- | Lib/idlelib/CallTipWindow.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Lib/idlelib/CallTipWindow.py b/Lib/idlelib/CallTipWindow.py index a2431f8..8e29dab 100644 --- a/Lib/idlelib/CallTipWindow.py +++ b/Lib/idlelib/CallTipWindow.py @@ -48,13 +48,7 @@ class CallTip: def showtip(self, text, parenleft, parenright): """Show the calltip, bind events which will close it and reposition it. """ - # truncate overly long calltip - if len(text) >= 79: - textlines = text.splitlines() - for i, line in enumerate(textlines): - if len(line) > 79: - textlines[i] = line[:75] + ' ...' - text = '\n'.join(textlines) + # Only called in CallTips, where lines are truncated self.text = text if self.tipwindow or not self.text: return |