diff options
author | Georg Brandl <georg@python.org> | 2008-05-11 21:37:53 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-11 21:37:53 (GMT) |
commit | d61c70d45f15b31ec369929f1c089e1371da4dd0 (patch) | |
tree | 843e9f64687b1a007468a4351aa0a735556728b0 | |
parent | 275360eaa580a7fcf65f724f0a92751f3ac981a2 (diff) | |
download | cpython-d61c70d45f15b31ec369929f1c089e1371da4dd0.zip cpython-d61c70d45f15b31ec369929f1c089e1371da4dd0.tar.gz cpython-d61c70d45f15b31ec369929f1c089e1371da4dd0.tar.bz2 |
Formally deprecate old classes in the cgi module.
-rw-r--r-- | Doc/library/cgi.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst index 3b82e7b..00deea6 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. |