Compare commits
No commits in common. 'c8-beta' and 'c9-beta' have entirely different histories.
@ -0,0 +1,17 @@
|
|||||||
|
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