diff options
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r-- | Lib/httplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py index 8876aad..89d5392 100644 --- a/Lib/httplib.py +++ b/Lib/httplib.py @@ -1098,7 +1098,7 @@ class SSLFile(SharedSocketClient): def __iter__(self): return self - def next(self): + def __next__(self): line = self.readline() if not line: raise StopIteration |