[Python-checkins] python/dist/src/Tools/idle CallTips.py,1.9.12.1,1.9.12.2
kbk@users.sourceforge.net
kbk@users.sourceforge.net
Wed, 23 Jul 2003 09:25:45 -0700
- Previous message: [Python-checkins] python/dist/src/Lib/idlelib CallTips.py,1.10,1.11 NEWS.txt,1.21,1.22 idlever.py,1.13,1.14
- Next message: [Python-checkins] python/dist/src configure.in,1.426,1.427 configure,1.415,1.416
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Tools/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv25768
Modified Files:
Tag: release22-maint
CallTips.py
Log Message:
Backport Python Patches 769142, 776062 from 2.3 Lib/idlelib:
CallTip error when docstring contains only \n and/or \t
Index: CallTips.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/Attic/CallTips.py,v
retrieving revision 1.9.12.1
retrieving revision 1.9.12.2
diff -C2 -d -r1.9.12.1 -r1.9.12.2
*** CallTips.py 23 Sep 2002 14:23:15 -0000 1.9.12.1
--- CallTips.py 23 Jul 2003 16:25:43 -0000 1.9.12.2
***************
*** 149,154 ****
doc = getattr(ob, "__doc__", "")
if doc:
! while doc[:1] in " \t\n":
! doc = doc[1:]
pos = doc.find("\n")
if pos < 0 or pos > 70:
--- 149,153 ----
doc = getattr(ob, "__doc__", "")
if doc:
! doc = doc.lstrip()
pos = doc.find("\n")
if pos < 0 or pos > 70:
- Previous message: [Python-checkins] python/dist/src/Lib/idlelib CallTips.py,1.10,1.11 NEWS.txt,1.21,1.22 idlever.py,1.13,1.14
- Next message: [Python-checkins] python/dist/src configure.in,1.426,1.427 configure,1.415,1.416
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]