Skip to content

Commit 501570d

Browse files
committed
fix
1 parent 971c995 commit 501570d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pymysql/cursors.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from functools import partial
21
import re
32

43
from . import err
@@ -104,8 +103,6 @@ def _ensure_bytes(self, x, encoding=None):
104103
return x
105104

106105
def _escape_args(self, args, conn):
107-
ensure_bytes = partial(self._ensure_bytes, encoding=conn.encoding)
108-
109106
if isinstance(args, (tuple, list)):
110107
return tuple(conn.literal(arg) for arg in args)
111108
elif isinstance(args, dict):

0 commit comments

Comments
 (0)