mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Tooltips failed on new-syle class __init__ args. Bug 1027566 Loren Guthrie
This commit is contained in:
		
							parent
							
								
									7802af426e
								
							
						
					
					
						commit
						c6bacd5606
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -127,7 +127,7 @@ def get_arg_text(ob): | |||
|     argText = "" | ||||
|     if ob is not None: | ||||
|         argOffset = 0 | ||||
|         if type(ob)==types.ClassType: | ||||
|         if type(ob) in (types.ClassType, types.TypeType): | ||||
|             # Look for the highest __init__ in the class chain. | ||||
|             fob = _find_constructor(ob) | ||||
|             if fob is None: | ||||
|  |  | |||
|  | @ -3,6 +3,8 @@ What's New in IDLE 1.2c1? | |||
| 
 | ||||
| *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. | ||||
|   Patch 1407280 Tal Einat | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kurt B. Kaiser
						Kurt B. Kaiser