Skip to content

Commit d277a56

Browse files
committed
Fix minor bug in httplib example. Found by Alex MacAulay on docs@.
1 parent 3c12711 commit d277a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/http.client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ request using http.client::
649649
>>> conn = http.client.HTTPConnection("localhost", 8080)
650650
>>> conn.request("PUT", "/file", BODY)
651651
>>> response = conn.getresponse()
652-
>>> print(resp.status, response.reason)
652+
>>> print(response.status, response.reason)
653653
200, OK
654654

655655
.. _httpmessage-objects:

0 commit comments

Comments
 (0)