Skip to content

Commit fdf8739

Browse files
Avasamvasily-v-ryabov
authored andcommitted
fix accidental data change
1 parent 9f406d4 commit fdf8739

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Xlib/protocol/display.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def send_and_recv(self, flush = False, event = False, request = None, recv = Fal
402402
To wait for an event to be received, event should be true.
403403
404404
To wait for a response to a certain request (either an error
405-
or a response), request should be set the that request's
405+
or a response), request should be set to that request's
406406
serial number.
407407
408408
To just read any pending data from the server, recv should be true.

‎Xlib/protocol/rq.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ def __init__(self, display, defer = False, *args, **keys):
13581358
self._display = display
13591359
self._binary = self._request.to_binary(*args, **keys)
13601360
self._serial = None
1361-
self._data = {}
1361+
self._data = None
13621362
self._error = None
13631363

13641364
self._response_lock = lock.allocate_lock()

0 commit comments

Comments
 (0)