diff options
author | Fred Drake <fdrake@acm.org> | 2005-04-13 01:08:23 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2005-04-13 01:08:23 (GMT) |
commit | cc97ebf577afdaada8197a3f63f2d17412704cea (patch) | |
tree | 3f4526dcf8effb25484ad2d5edf5c3205ce39246 | |
parent | f2dbeff60ba98805306f41848594d58ebde5e00a (diff) | |
download | cpython-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)
-rw-r--r-- | Doc/lib/liburllib2.tex | 4 |
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}{} |