mirror of
https://github.com/python/cpython.git
synced 2025-09-17 22:20:23 +00:00
Deprecate stringold for removal in 3.0.
This commit is contained in:
parent
bfb997d6a5
commit
6071cc8fb0
2 changed files with 6 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue