]> granicus.if.org Git - python/commitdiff
get_method() returns a method name, not take it as an argument
authorFred Drake <fdrake@acm.org>
Wed, 13 Apr 2005 01:08:23 +0000 (01:08 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 13 Apr 2005 01:08:23 +0000 (01:08 +0000)
(backporting to release24-maint branch)

Doc/lib/liburllib2.tex

index dd6a7142ee8e74c7acb1ed6849d7450c2f931f64..6f9395cdff2152bd9af2d64fded433505e3c2f7c 100644 (file)
@@ -254,8 +254,8 @@ string, and will change the request to be \code{POST} rather than
 
 \begin{methoddesc}[Request]{get_method}{}
 Return a string indicating the HTTP request method.  This is only
-meaningful for HTTP requests, and currently always takes one of the
-values ("GET", "POST").
+meaningful for HTTP requests, and currently always returns
+\code{'GET'} or \code{'POST'}.
 \end{methoddesc}
 
 \begin{methoddesc}[Request]{has_data}{}