PEP 3114: rename .next() to .__next__() and add next() builtin.
diff --git a/Lib/gzip.py b/Lib/gzip.py
index 4ff4883..fd72b9e 100644
--- a/Lib/gzip.py
+++ b/Lib/gzip.py
@@ -453,7 +453,7 @@
     def __iter__(self):
         return self
 
-    def next(self):
+    def __next__(self):
         line = self.readline()
         if line:
             return line