diff options
Diffstat (limited to 'Lib/symbol.py')
-rw-r--r-- | Lib/symbol.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Lib/symbol.py b/Lib/symbol.py index 36e0eec..aaac8c9 100644 --- a/Lib/symbol.py +++ b/Lib/symbol.py @@ -11,6 +11,15 @@ # # make regen-symbol +import warnings + +warnings.warn( + "The symbol module is deprecated and will be removed " + "in future versions of Python", + DeprecationWarning, + stacklevel=2, +) + #--start constants-- single_input = 256 file_input = 257 |