summaryrefslogtreecommitdiffstats
path: root/Lib/gzip.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/gzip.py')
-rw-r--r--Lib/gzip.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/gzip.py b/Lib/gzip.py
index 0dddb51..ac17810 100644
--- a/Lib/gzip.py
+++ b/Lib/gzip.py
@@ -398,10 +398,6 @@ class GzipFile(_compression.BaseStream):
self._check_not_closed()
return self._buffer.readline(size)
- def __iter__(self):
- self._check_not_closed()
- return self._buffer.__iter__()
-
def _read_exact(fp, n):
'''Read exactly *n* bytes from `fp`