diff options
Diffstat (limited to 'Lib/_strptime.py')
-rw-r--r-- | Lib/_strptime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_strptime.py b/Lib/_strptime.py index e389ce7..10b0083 100644 --- a/Lib/_strptime.py +++ b/Lib/_strptime.py @@ -338,7 +338,7 @@ def strptime(data_string, format="%a %b %d %H:%M:%S %Y"): # values weekday = julian = -1 found_dict = found.groupdict() - for group_key in found_dict.iterkeys(): + for group_key in found_dict.keys(): # Directives not explicitly handled below: # c, x, X # handled by making out of other directives |