Kaydet (Commit) 6d37c089 authored tarafından Daniel Hahler's avatar Daniel Hahler Kaydeden (comit) Mariusz Felisiak

Readded comment about the default params of cursor.execute().

It was removed in in 728548e4.
üst 31668803
...@@ -80,6 +80,7 @@ class CursorWrapper: ...@@ -80,6 +80,7 @@ class CursorWrapper:
self.db.validate_no_broken_transaction() self.db.validate_no_broken_transaction()
with self.db.wrap_database_errors: with self.db.wrap_database_errors:
if params is None: if params is None:
# params default might be backend specific.
return self.cursor.execute(sql) return self.cursor.execute(sql)
else: else:
return self.cursor.execute(sql, params) return self.cursor.execute(sql, params)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment