Thanks to visit codestin.com Credit goes to github.com
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 2cf945b commit 56c7176Copy full SHA for 56c7176
1 file changed
Lib/sqlite3/__main__.py
@@ -94,7 +94,10 @@ def main():
94
db_name = repr(args.filename)
95
96
# Prepare REPL banner and prompts.
97
- eofkey = "CTRL-Z" if sys.platform == "win32" else "CTRL-D"
+ if sys.platform == "win32" and "idlelib.run" not in sys.modules:
98
+ eofkey = "CTRL-Z"
99
+ else:
100
+ eofkey = "CTRL-D"
101
banner = dedent(f"""
102
sqlite3 shell, running on SQLite version {sqlite3.sqlite_version}
103
Connected to {db_name}
0 commit comments