From cc97ebf577afdaada8197a3f63f2d17412704cea Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 13 Apr 2005 01:08:23 +0000 Subject: get_method() returns a method name, not take it as an argument (backporting to release24-maint branch) --- Doc/lib/liburllib2.tex | 4 ++-- 1 file 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}{} -- cgit v0.12