We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9956cef commit 2155e48Copy full SHA for 2155e48
1 file changed
Modules/_io/bytesio.c
@@ -194,13 +194,6 @@ write_bytes_lock_held(bytesio *self, PyObject *b)
194
{
195
_Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
196
197
- if (check_closed(self)) {
198
- return -1;
199
- }
200
- if (check_exports(self)) {
201
202
203
-
204
Py_buffer buf;
205
Py_ssize_t len;
206
if (PyObject_GetBuffer(b, &buf, PyBUF_CONTIG_RO) < 0) {
0 commit comments