summaryrefslogtreecommitdiffstats
path: root/Lib/bz2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bz2.py')
-rw-r--r--Lib/bz2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/bz2.py b/Lib/bz2.py
index 667fffd..9506b4a 100644
--- a/Lib/bz2.py
+++ b/Lib/bz2.py
@@ -105,7 +105,7 @@ class BZ2File(io.BufferedIOBase):
self._fp.write(self._compressor.flush())
self._compressor = None
finally:
- try:
+ try:
if self._closefp:
self._fp.close()
finally:
@@ -251,7 +251,7 @@ class BZ2File(io.BufferedIOBase):
def readinto(self, b):
"""Read up to len(b) bytes into b.
-
+
Returns the number of bytes read (0 for EOF).
"""
with self._lock: