Kaydet (Commit) c6bacd56 authored tarafından Kurt B. Kaiser's avatar Kurt B. Kaiser

Tooltips failed on new-syle class __init__ args. Bug 1027566 Loren Guthrie

üst 7802af42
...@@ -127,7 +127,7 @@ def get_arg_text(ob): ...@@ -127,7 +127,7 @@ def get_arg_text(ob):
argText = "" argText = ""
if ob is not None: if ob is not None:
argOffset = 0 argOffset = 0
if type(ob)==types.ClassType: if type(ob) in (types.ClassType, types.TypeType):
# Look for the highest __init__ in the class chain. # Look for the highest __init__ in the class chain.
fob = _find_constructor(ob) fob = _find_constructor(ob)
if fob is None: if fob is None:
......
...@@ -3,6 +3,8 @@ What's New in IDLE 1.2c1? ...@@ -3,6 +3,8 @@ What's New in IDLE 1.2c1?
*Release date: XX-XXX-2006* *Release date: XX-XXX-2006*
- Tooltips failed on new-syle class __init__ args. Bug 1027566 Loren Guthrie
- Avoid occasional failure to detect closing paren properly. - Avoid occasional failure to detect closing paren properly.
Patch 1407280 Tal Einat Patch 1407280 Tal Einat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment