From: Georg Brandl Date: Sun, 11 May 2008 21:37:53 +0000 (+0000) Subject: Formally deprecate old classes in the cgi module. X-Git-Tag: v2.6b1~478 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d61c70d45f15b31ec369929f1c089e1371da4dd0;p=python Formally deprecate old classes in the cgi module. --- diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst index 3b82e7b935..00deea65d3 100644 --- a/Doc/library/cgi.rst +++ b/Doc/library/cgi.rst @@ -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.