summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-08 19:52:45 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-08 19:52:45 (GMT)
commit6071cc8fb027d4b7163742d578a1b8666afe1d1c (patch)
tree917e809a1b5a3ff6ff0750cdb85f77613a941d67 /Lib
parentbfb997d6a5a7fa79a67d63355390337d4e796b6c (diff)
downloadcpython-6071cc8fb027d4b7163742d578a1b8666afe1d1c.zip
cpython-6071cc8fb027d4b7163742d578a1b8666afe1d1c.tar.gz
cpython-6071cc8fb027d4b7163742d578a1b8666afe1d1c.tar.bz2
Deprecate stringold for removal in 3.0.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/stringold.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/stringold.py b/Lib/stringold.py
index 213a04c..7cbd7aa 100644
--- a/Lib/stringold.py
+++ b/Lib/stringold.py
@@ -18,6 +18,9 @@ hexdigits -- a string containing all characters considered hexadecimal digits
octdigits -- a string containing all characters considered octal digits
"""
+from warnings import warnpy3k
+warnpy3k("the stringold module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
# Some strings for ctype-style character classification
whitespace = ' \t\n\r\v\f'