[Python-checkins] python/dist/src/Doc/lib liburllib2.tex,1.21,1.22
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Wed Apr 13 03:08:26 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30839/Doc/lib
Modified Files:
liburllib2.tex
Log Message:
get_method() returns a method name, not take it as an argument
(backporting to release24-maint branch)
Index: liburllib2.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liburllib2.tex,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- liburllib2.tex 25 Aug 2004 11:24:42 -0000 1.21
+++ liburllib2.tex 13 Apr 2005 01:08:23 -0000 1.22
@@ -254,8 +254,8 @@
\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}{}
More information about the Python-checkins
mailing list