[Python-checkins] cpython (merge 3.3 -> default): Merge with 3.3
terry.reedy
python-checkins at python.org
Wed Jan 22 03:13:51 CET 2014
http://hg.python.org/cpython/rev/eb3cb6495f22
changeset: 88632:eb3cb6495f22
parent: 88629:544dc911c29e
parent: 88631:1b89fd73c625
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Tue Jan 21 21:13:25 2014 -0500
summary:
Merge with 3.3
files:
Lib/idlelib/CallTipWindow.py | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/Lib/idlelib/CallTipWindow.py b/Lib/idlelib/CallTipWindow.py
--- a/Lib/idlelib/CallTipWindow.py
+++ b/Lib/idlelib/CallTipWindow.py
@@ -48,13 +48,7 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list