Skip to content

Commit 7170ad9

Browse files
Revert "Use rstrip"
This reverts commit 97d002d.
1 parent c2ed7f1 commit 7170ad9

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:].rstrip():
62+
match source[1:].strip():
6363
case "version":
6464
print(sqlite3.sqlite_version)
6565
case "help":

0 commit comments

Comments
 (0)