summaryrefslogtreecommitdiffstats
path: root/Lib/bz2.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-04-03 15:08:49 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-04-03 15:08:49 (GMT)
commit24ce3863873d976ba28299ad7bd880f612e049af (patch)
treeddf819d139ae78e30120d1479bdb442cb4560e29 /Lib/bz2.py
parent37dc5f85b82292787092dd61b937ee616a2d93b0 (diff)
downloadcpython-24ce3863873d976ba28299ad7bd880f612e049af.zip
cpython-24ce3863873d976ba28299ad7bd880f612e049af.tar.gz
cpython-24ce3863873d976ba28299ad7bd880f612e049af.tar.bz2
Fix whitespace
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: