From 1213bdd16d864538e75471aed08422e372dd0a18 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 13 May 2003 02:50:36 +0000 Subject: Fix and add reference to urllib.urlencode for parse_qsl? functions. --- Doc/lib/libcgi.tex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Doc/lib/libcgi.tex b/Doc/lib/libcgi.tex index 38798d4..67e93b4 100644 --- a/Doc/lib/libcgi.tex +++ b/Doc/lib/libcgi.tex @@ -331,6 +331,10 @@ The optional argument \var{strict_parsing} is a flag indicating what to do with parsing errors. If false (the default), errors are silently ignored. If true, errors raise a ValueError exception. + +Use the \function{\refmodule{urllib}.urlencode()} function to convert +such dictionaries into query strings. + \end{funcdesc} \begin{funcdesc}{parse_qsl}{qs\optional{, keep_blank_values\optional{, @@ -352,7 +356,7 @@ to do with parsing errors. If false (the default), errors are silently ignored. If true, errors raise a ValueError exception. -Use the \function{\refmodule{cgi}.urlencode()} function to convert +Use the \function{\refmodule{urllib}.urlencode()} function to convert such lists of pairs into query strings. \end{funcdesc} -- cgit v0.12