cpython: 1557d25b0f6e (original) (raw)
Mercurial > cpython
changeset 82143:1557d25b0f6e
Issue #17165: fix a bare import in _strptime.py. Patch by Berker Peksag. [#17165]
Antoine Pitrou solipsis@pitrou.net | |
---|---|
date | Sun, 10 Feb 2013 19:29:17 +0100 |
parents | 407625051c45 |
children | 44817c9e8ef7 |
files | Lib/_strptime.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Lib/_strptime.py 2 |
line wrap: on
line diff
--- a/Lib/_strptime.py +++ b/Lib/_strptime.py @@ -21,7 +21,7 @@ from datetime import (date as datetime_d timezone as datetime_timezone) try: from _thread import allocate_lock as _thread_allocate_lock -except: +except ImportError: from _dummy_thread import allocate_lock as _thread_allocate_lock all = []