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
279
279
readline_state = ctypes .c_int .in_dll (readline_lib , "rl_readline_state" ).value
280
280
return bool (in_search_mode & readline_state )
281
281
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]
283
283
EmacsMode ,
284
284
)
285
285
286
286
# These search modes only apply to Emacs mode, which is the default.
287
287
if not isinstance (readline .rl .mode , EmacsMode ):
288
288
return False
289
289
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.
291
291
search_funcs = (
292
292
readline .rl .mode ._process_incremental_search_keyevent ,
293
293
readline .rl .mode ._process_non_incremental_search_keyevent ,
You can’t perform that action at this time.
0 commit comments