Skip to content

Commit bab17ed

Browse files
NestorTejeromethane
authored andcommitted
remove extra parameter (PyMySQL#201)
This produced the error `TypeError: _tuple_literal() missing 1 required positional argument: 'd'` on line 316.
1 parent 71e15b1 commit bab17ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MySQLdb/connections.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def _bytes_literal(self, bs):
297297
return b'_binary' + x
298298
return x
299299

300-
def _tuple_literal(self, t, d):
300+
def _tuple_literal(self, t):
301301
return "(%s)" % (','.join(map(self.literal, t)))
302302

303303
def literal(self, o):

0 commit comments

Comments
 (0)