Skip to content

Commit f7b2433

Browse files
Update Lib/asyncio/selector_events.py
Co-authored-by: Adam Turner <[email protected]>
1 parent cac6d40 commit f7b2433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/asyncio/selector_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ def _read_ready__on_eof(self):
10511051
def write(self, data):
10521052
if not isinstance(data, (bytes, bytearray, memoryview)):
10531053
raise TypeError(f'data argument must be a bytes, bytearray, or memoryview '
1054-
f'not {type(data).__name__!r}')
1054+
f'object, not {type(data).__name__!r}')
10551055
if self._eof:
10561056
raise RuntimeError('Cannot call write() after write_eof()')
10571057
if self._empty_waiter is not None:

0 commit comments

Comments
 (0)