Skip to content

Commit cf591cf

Browse files
committed
urllib.urequest: Fix stale variable name (line -> l).
1 parent 94be568 commit cf591cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

urllib.urequest/urllib/urequest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ def urlopen(url, data=None, method="GET"):
5050
l = s.readline()
5151
if not l or l == b"\r\n":
5252
break
53-
#print(line)
53+
#print(l)
5454
if l.startswith(b"Transfer-Encoding:"):
55-
if b"chunked" in line:
55+
if b"chunked" in l:
5656
raise ValueError("Unsupported " + l)
5757
elif l.startswith(b"Location:"):
5858
raise NotImplementedError("Redirects not yet supported")

0 commit comments

Comments
 (0)