diff options
Diffstat (limited to 'Lib/tzparse.py')
-rw-r--r-- | Lib/tzparse.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/tzparse.py b/Lib/tzparse.py index 38e6af1..12468b5 100644 --- a/Lib/tzparse.py +++ b/Lib/tzparse.py @@ -3,6 +3,11 @@ # XXX Unfinished. # XXX Only the typical form "XXXhhYYY;ddd/hh,ddd/hh" is currently supported. +import warnings +warnings.warn( + "The tzparse module is obsolete and will disappear in the future", + DeprecationWarning) + tzpat = ('^([A-Z][A-Z][A-Z])([-+]?[0-9]+)([A-Z][A-Z][A-Z]);' '([0-9]+)/([0-9]+),([0-9]+)/([0-9]+)$') |