diff --git a/Lib/_strptime.py b/Lib/_strptime.py index 0d7dec4dfb2..baafe9aab5d 100644 --- a/Lib/_strptime.py +++ b/Lib/_strptime.py @@ -22,9 +22,6 @@ try: except: from dummy_thread import allocate_lock as _thread_allocate_lock -__author__ = "Brett Cannon" -__email__ = "brett@python.org" - __all__ = ['strptime'] def _getlang(): diff --git a/Lib/dummy_thread.py b/Lib/dummy_thread.py index a72c92722f4..c1313846e48 100644 --- a/Lib/dummy_thread.py +++ b/Lib/dummy_thread.py @@ -11,11 +11,8 @@ Suggested usage is:: import dummy_thread as thread """ -__author__ = "Brett Cannon" -__email__ = "brett@python.org" - -# Exports only things specified by thread documentation -# (skipping obsolete synonyms allocate(), start_new(), exit_thread()) +# Exports only things specified by thread documentation; +# skipping obsolete synonyms allocate(), start_new(), exit_thread(). __all__ = ['error', 'start_new_thread', 'exit', 'get_ident', 'allocate_lock', 'interrupt_main', 'LockType'] diff --git a/Lib/dummy_threading.py b/Lib/dummy_threading.py index 48f7c4c7469..81028a3d4e8 100644 --- a/Lib/dummy_threading.py +++ b/Lib/dummy_threading.py @@ -5,11 +5,6 @@ to not have ``threading`` considered imported. Had ``threading`` been directly imported it would have made all subsequent imports succeed regardless of whether ``thread`` was available which is not desired. -:Author: Brett Cannon -:Contact: brett@python.org - -XXX: Try to get rid of ``_dummy_threading``. - """ from sys import modules as sys_modules