Skip to content

Commit 97d002d

Browse files
Use rstrip
1 parent 1c6cf80 commit 97d002d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/sqlite3/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def runsource(self, source, filename="<input>", symbol="single"):
5959
if not source or source.isspace():
6060
return False
6161
if source[0] == ".":
62-
match source[1:].strip():
62+
match source[1:].rstrip():
6363
case "version":
6464
print(sqlite3.sqlite_version)
6565
case "help":

0 commit comments

Comments
 (0)