summaryrefslogtreecommitdiff
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, 0 insertions, 4 deletions
diff --git a/Lib/bz2.py b/Lib/bz2.py
index 7f1d20632e..fabe4f73c8 100644
--- a/Lib/bz2.py
+++ b/Lib/bz2.py
@@ -197,10 +197,6 @@ class BZ2File(_compression.BaseStream):
self._check_can_read()
return self._buffer.readline(size)
- def __iter__(self):
- self._check_can_read()
- return self._buffer.__iter__()
-
def readlines(self, size=-1):
"""Read a list of lines of uncompressed bytes from the file.