]> granicus.if.org Git - python/commitdiff
Formally deprecate old classes in the cgi module.
authorGeorg Brandl <georg@python.org>
Sun, 11 May 2008 21:37:53 +0000 (21:37 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 11 May 2008 21:37:53 +0000 (21:37 +0000)
Doc/library/cgi.rst

index 3b82e7b935a19b5c372efb67ea73d77b9e8bc5d7..00deea65d3f14fa12e6d614d075705781efc0444 100644 (file)
@@ -250,9 +250,11 @@ Using these methods you can write nice compact code::
 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.