Skip to content

Commit 176b884

Browse files
Set bzerror in __new__
1 parent 79393ad commit 176b884

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/_bz2module.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@ _bz2_BZ2Decompressor_impl(PyTypeObject *type)
649649
}
650650

651651
self->mutex = (PyMutex){0};
652+
self->bzerror = 0;
652653
self->needs_input = 1;
653654
self->bzs_avail_in_real = 0;
654655
self->input_buffer = NULL;

0 commit comments

Comments
 (0)