]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38696: Fix usage example of HTTPStatus (GH-17066)
authorAmmar Askar <ammar@ammaraskar.com>
Tue, 5 Nov 2019 23:29:33 +0000 (18:29 -0500)
committerZachary Ware <zach@python.org>
Tue, 5 Nov 2019 23:29:33 +0000 (17:29 -0600)
Doc/library/http.rst

index 8df14578de1f1e9481e65312fb3e520dddc40799..0e3441cbcb718ccaf570e4da02bcb108c1d54b7e 100644 (file)
@@ -38,7 +38,7 @@ associated messages through the :class:`http.HTTPStatus` enum:
       <HTTPStatus.OK: 200>
       >>> HTTPStatus.OK == 200
       True
-      >>> http.HTTPStatus.OK.value
+      >>> HTTPStatus.OK.value
       200
       >>> HTTPStatus.OK.phrase
       'OK'