[Python-checkins] r74492 - python/trunk/Doc/library/cgi.rst
r.david.murray
python-checkins at python.org
Mon Aug 17 21:26:49 CEST 2009
Author: r.david.murray
Date: Mon Aug 17 21:26:49 2009
New Revision: 74492
Log:
Issue 6685: 'toupper' -> 'upper' in cgi doc example explanation.
Modified:
python/trunk/Doc/library/cgi.rst
Modified: python/trunk/Doc/library/cgi.rst
==============================================================================
--- python/trunk/Doc/library/cgi.rst (original)
+++ python/trunk/Doc/library/cgi.rst Mon Aug 17 21:26:49 2009
@@ -213,7 +213,7 @@
provide valid input to your scripts. For example, if a curious user appends
another ``user=foo`` pair to the query string, then the script would crash,
because in this situation the ``getvalue("user")`` method call returns a list
-instead of a string. Calling the :meth:`toupper` method on a list is not valid
+instead of a string. Calling the :meth:`~str.upper` method on a list is not valid
(since lists do not have a method of this name) and results in an
:exc:`AttributeError` exception.
More information about the Python-checkins
mailing list