Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Arkady L. Shane | 550279060b | 7 months ago |
@ -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