1. Python Bug 775541: Calltips error when docstring is None. Introduced

by patch 769142.  Fixed by patch 776062. KBK will backport net result
   to IDLE release22-maint and IDLEfork.
2. Update NEWS.txt and idlever for release.
This commit is contained in:
Kurt B. Kaiser 2003-07-23 15:42:14 +00:00
parent a3788642a3
commit 6145a624b8
3 changed files with 12 additions and 4 deletions

View file

@ -162,8 +162,9 @@ def get_arg_text(ob):
except: except:
pass pass
# See if we can use the docstring # See if we can use the docstring
doc = getattr(ob, "__doc__", "").lstrip() doc = getattr(ob, "__doc__", "")
if doc: if doc:
doc = doc.lstrip()
pos = doc.find("\n") pos = doc.find("\n")
if pos < 0 or pos > 70: if pos < 0 or pos > 70:
pos = 70 pos = 70

View file

@ -1,7 +1,14 @@
What's New in IDLE 1.0rc1? What's New in IDLE 1.0 release candidate 2?
=================================== ===================================
*Release date: 17-Jul-2003* *Release date: 24-Jul-2003*
- Calltip error when docstring was None Python Bug 775541
What's New in IDLE 1.0 release candidate 1?
===================================
*Release date: 18-Jul-2003*
- Updated extend.txt, help.txt, and config-extensions.def to correctly - Updated extend.txt, help.txt, and config-extensions.def to correctly
reflect the current status of the configuration system. Python Bug 768469 reflect the current status of the configuration system. Python Bug 768469

View file

@ -1 +1 @@
IDLE_VERSION = "1.0rc1" IDLE_VERSION = "1.0rc2"