From: Matt Harasymczuk Date: Sun, 13 Nov 2022 20:46:28 +0000 (+0100) Subject: Fix misspelling in docs for http.HTTPMethod (#99376) X-Git-Tag: v3.12.0a2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f0d12ca0e0e31b678448b6192ebaf9720228d4fa;p=thirdparty%2FPython%2Fcpython.git Fix misspelling in docs for http.HTTPMethod (#99376) Co-authored-by: Jelle Zijlstra --- diff --git a/Doc/library/http.rst b/Doc/library/http.rst index 9d002dc33ccb..5e1912716e53 100644 --- a/Doc/library/http.rst +++ b/Doc/library/http.rst @@ -171,16 +171,25 @@ Property Indicates that Details Usage:: >>> from http import HTTPMethod - >>> HTTMethod.GET - HTTMethod.GET - >>> HTTMethod.GET == 'GET' + >>> + >>> HTTPMethod.GET + + >>> HTTPMethod.GET == 'GET' True - >>> HTTMethod.GET.value + >>> HTTPMethod.GET.value 'GET' - >>> HTTMethod.GET.description - 'Transfer a current representation of the target resource.' + >>> HTTPMethod.GET.description + 'Retrieve the target.' >>> list(HTTPMethod) - [HTTPMethod.GET, HTTPMethod.HEAD, ...] + [, + , + , + , + , + , + , + , + ] .. _http-methods: