[Python-checkins] r63098 - python/trunk/Doc/library/cgi.rst

georg.brandl python-checkins at python.org
Sun May 11 23:37:53 CEST 2008


Author: georg.brandl
Date: Sun May 11 23:37:53 2008
New Revision: 63098

Log:
Formally deprecate old classes in the cgi module.


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	Sun May 11 23:37:53 2008
@@ -250,9 +250,11 @@
 Old classes
 -----------
 
-These classes, present in earlier versions of the :mod:`cgi` module, are still
-supported for backward compatibility.  New applications should use the
-:class:`FieldStorage` class.
+.. deprecated:: 2.6
+
+   These classes, present in earlier versions of the :mod:`cgi` module, are
+   still supported for backward compatibility.  New applications should use the
+   :class:`FieldStorage` class.
 
 :class:`SvFormContentDict` stores single value form content as dictionary; it
 assumes each field name occurs in the form only once.


More information about the Python-checkins mailing list