diff options
Diffstat (limited to 'Lib/tzparse.py')
-rw-r--r-- | Lib/tzparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tzparse.py b/Lib/tzparse.py index fa94bd5..27f1fa1 100644 --- a/Lib/tzparse.py +++ b/Lib/tzparse.py @@ -16,7 +16,7 @@ def tzparse(tzstr): timezone, and 'daystart'/'hourstart' and 'dayend'/'hourend' specify the starting and ending points for daylight saving time.""" global tzprog - if tzprog == None: + if tzprog is None: import re tzprog = re.compile(tzpat) match = tzprog.match(tzstr) |