Compare commits
No commits in common. 'c9-beta' and 'i8c-beta' have entirely different histories.
@ -1,17 +0,0 @@
|
||||
diff --git a/pymysql/converters.py b/pymysql/converters.py
|
||||
index 1adac75..dbf97ca 100644
|
||||
--- a/pymysql/converters.py
|
||||
+++ b/pymysql/converters.py
|
||||
@@ -27,11 +27,7 @@ def escape_item(val, charset, mapping=None):
|
||||
|
||||
|
||||
def escape_dict(val, charset, mapping=None):
|
||||
- n = {}
|
||||
- for k, v in val.items():
|
||||
- quoted = escape_item(v, charset, mapping)
|
||||
- n[k] = quoted
|
||||
- return n
|
||||
+ raise TypeError("dict can not be used as parameter")
|
||||
|
||||
|
||||
def escape_sequence(val, charset, mapping=None):
|
Loading…
Reference in new issue