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 @@ -279,15 +279,15 @@ def rl_in_search_mode() -> bool:  # pragma: no cover
279279        readline_state  =  ctypes .c_int .in_dll (readline_lib , "rl_readline_state" ).value 
280280        return  bool (in_search_mode  &  readline_state )
281281    if  rl_type  ==  RlType .PYREADLINE :
282-         from  pyreadline3 .modes .emacs  import  (  # type: ignore[import-not-found ] 
282+         from  pyreadline3 .modes .emacs  import  (  # type: ignore[import] 
283283            EmacsMode ,
284284        )
285285
286286        # These search modes only apply to Emacs mode, which is the default. 
287287        if  not  isinstance (readline .rl .mode , EmacsMode ):
288288            return  False 
289289
290-         # While in search mode, the current keyevent function is set one of the following. 
290+         # While in search mode, the current keyevent function is set to  one of the following. 
291291        search_funcs  =  (
292292            readline .rl .mode ._process_incremental_search_keyevent ,
293293            readline .rl .mode ._process_non_incremental_search_keyevent ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments