[3.12] gh-109151: Revert readline support in the sqlite3 CLI (#110542)

Revert "[3.12] gh-109151: Enable readline in the sqlite3 CLI (GH-109152) (#110352)"

This reverts commit bc1fe3549b.
This commit is contained in:
Serhiy Storchaka 2023-10-09 12:13:16 +03:00 committed by GitHub
parent d1528233b8
commit 22474a1d62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View file

@ -116,10 +116,6 @@ def main(*args):
else:
# No SQL provided; start the REPL.
console = SqliteInteractiveConsole(con)
try:
import readline
except ImportError:
pass
console.interact(banner, exitmsg="")
finally:
con.close()

View file

@ -1 +0,0 @@
Enable ``readline`` editing features in the :ref:`sqlite3 command-line interface <sqlite3-cli>` (``python -m sqlite3``).