From d61c70d45f15b31ec369929f1c089e1371da4dd0 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 11 May 2008 21:37:53 +0000 Subject: [PATCH] Formally deprecate old classes in the cgi module. --- Doc/library/cgi.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst index 3b82e7b935a..00deea65d3f 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.