blob: 9a2433abd0d0004a9787028f02446fe4e960bf79 [file] [log] [blame]
Fix destructor :class:`_pyio.BytesIO` and :class:`_pyio.TextIOWrapper`:
initialize their ``_buffer`` attribute as soon as possible (in the class
body), because it's used by ``__del__()`` which calls ``close()``.