Commit d0926940 authored by Guido van Rossum's avatar Guido van Rossum

Add a deprecation warning to this module.

Importing it typically fails anyway (no TZ variable defined), so this
is no great loss.
parent 44f5f8fb
......@@ -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]+)$')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment