mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Stomp out more hsa_key() calls.
This commit is contained in:
parent
1b01e5c706
commit
49061f7b8f
7 changed files with 25 additions and 25 deletions
|
@ -109,7 +109,7 @@ def parsedate_tz(data):
|
|||
return None
|
||||
tzoffset = None
|
||||
tz = tz.upper()
|
||||
if _timezones.has_key(tz):
|
||||
if tz in _timezones:
|
||||
tzoffset = _timezones[tz]
|
||||
else:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue