We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e092342 commit 0e6d9e2Copy full SHA for 0e6d9e2
Lib/site.py
@@ -433,7 +433,7 @@ def setcopyright():
433
def sethelper():
434
builtins.help = _sitebuiltins._Helper()
435
436
-def _register_readline():
+def enablerlcompleter():
437
"""If the readline module can be imported, the hook will set the Tab key
438
as completion key and register ~/.python_history as history file.
439
This can be overridden in the sitecustomize or usercustomize module,
@@ -510,7 +510,7 @@ def _set_interactive_hook():
510
- Register an excepthook to detect pip usage in the REPL.
511
"""
512
def interactivehook():
513
- _register_readline()
+ enablerlcompleter()
514
_register_detect_pip_usage_in_repl()
515
516
sys.__interactivehook__ = interactivehook
0 commit comments