File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ def get_text_fragments() -> StyleAndTextTuples:
240240
241241            append ((Signature , " " ))
242242            try :
243-                 append ((Signature , sig .full_name ))
243+                 append ((Signature , sig .name ))
244244            except  IndexError :
245245                # Workaround for #37: https://github.com/jonathanslenders/python-prompt-toolkit/issues/37 
246246                # See also: https://github.com/davidhalter/jedi/issues/490 
@@ -260,7 +260,7 @@ def get_text_fragments() -> StyleAndTextTuples:
260260                #                     and sig has no 'index' attribute. 
261261                # See: https://github.com/jonathanslenders/ptpython/issues/47 
262262                #      https://github.com/davidhalter/jedi/issues/598 
263-                 description  =  p .description  if  p  else  "*" 
263+                 description  =  p .to_string ()  if  p  else  "*" 
264264                sig_index  =  getattr (sig , "index" , 0 )
265265
266266                if  i  ==  sig_index :
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments