summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2005-04-13 01:08:23 (GMT)
committerFred Drake <fdrake@acm.org>2005-04-13 01:08:23 (GMT)
commitcc97ebf577afdaada8197a3f63f2d17412704cea (patch)
tree3f4526dcf8effb25484ad2d5edf5c3205ce39246 /Doc
parentf2dbeff60ba98805306f41848594d58ebde5e00a (diff)
downloadcpython-cc97ebf577afdaada8197a3f63f2d17412704cea.zip
cpython-cc97ebf577afdaada8197a3f63f2d17412704cea.tar.gz
cpython-cc97ebf577afdaada8197a3f63f2d17412704cea.tar.bz2
get_method() returns a method name, not take it as an argument
(backporting to release24-maint branch)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/liburllib2.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/liburllib2.tex b/Doc/lib/liburllib2.tex
index dd6a714..6f9395c 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}{}