Skip to content

Commit bb72634

Browse files
committed
bumped version number, fixed comment styles
1 parent f42ff32 commit bb72634

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
package_dir={"": "src"},
1919
packages=["cs50"],
2020
url="https://github.com/cs50/python-cs50",
21-
version="9.2.7"
21+
version="9.3.0"
2222
)

src/cs50/sql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ def execute(self, sql, *args, **kwargs):
153153
full_statement = ' '.join(str(token) for token in statements[0].tokens if token.ttype in [sqlparse.tokens.Keyword, sqlparse.tokens.Keyword.DDL, sqlparse.tokens.Keyword.DML])
154154
full_statement = full_statement.upper()
155155

156-
# set of possible commands
156+
# Set of possible commands
157157
commands = {"BEGIN", "CREATE VIEW", "DELETE", "INSERT", "SELECT", "START", "UPDATE"}
158158

159-
# check if the full_statement starts with any command
159+
# Check if the full_statement starts with any command
160160
command = next((cmd for cmd in commands if full_statement.startswith(cmd)), None)
161161

162162
# Flatten statement

0 commit comments

Comments
 (0)