Skip to content

Commit cae10c7

Browse files
committed
remove uses of deprecated 'apply' builtin
1 parent 437bef9 commit cae10c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Xlib/ext/record.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ class EnableContext(rq.ReplyRequest):
214214

215215
def __init__(self, callback, *args, **keys):
216216
self._callback = callback
217-
apply(rq.ReplyRequest.__init__, (self, ) + args, keys)
217+
rq.ReplyRequest.__init__(self, *args, **keys)
218218

219219
def _parse_response(self, data):
220220
r, d = self._reply.parse_binary(data, self._display)

0 commit comments

Comments
 (0)