diff options
Diffstat (limited to 'Lib/bz2.py')
-rw-r--r-- | Lib/bz2.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -9,6 +9,7 @@ __all__ = ["BZ2File", "BZ2Compressor", "BZ2Decompressor", __author__ = "Nadeem Vawda <nadeem.vawda@gmail.com>" +from builtins import open as _builtin_open import io import warnings @@ -27,8 +28,6 @@ _MODE_WRITE = 3 _BUFFER_SIZE = 8192 -_builtin_open = open - class BZ2File(io.BufferedIOBase): |