diff options
Diffstat (limited to 'Lib/cgitb.py')
-rw-r--r-- | Lib/cgitb.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/cgitb.py b/Lib/cgitb.py index ec156843099..8ce0e833a98 100644 --- a/Lib/cgitb.py +++ b/Lib/cgitb.py @@ -31,8 +31,12 @@ import tempfile import time import tokenize import traceback +import warnings from html import escape as html_escape +warnings._deprecated(__name__, remove=(3, 13)) + + def reset(): """Return a string that resets the CGI and browser to a known state.""" return '''<!--: spam |