From: Fred Drake Date: Wed, 13 Apr 2005 01:12:21 +0000 (+0000) Subject: get_method() returns a method name, not take it as an argument X-Git-Tag: v2.4.2c1~237 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1dbdec2656a27f44fc0baed727f52b0726a2612e;p=thirdparty%2FPython%2Fcpython.git get_method() returns a method name, not take it as an argument (backported from trunk revision 1.22) --- diff --git a/Doc/lib/liburllib2.tex b/Doc/lib/liburllib2.tex index dd6a7142ee8e..6f9395cdff21 100644 --- a/Doc/lib/liburllib2.tex +++ b/Doc/lib/liburllib2.tex @@ -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}{}