diff options
| author | Georg Brandl <georg@python.org> | 2008-05-25 13:05:15 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-05-25 13:05:15 (GMT) |
| commit | 2067bfdf253e134a4144d3747300dbfcc7cc6203 (patch) | |
| tree | 76613f07319d07cc4f0159769131a051504f8c69 /Lib/mimetools.py | |
| parent | 3b4b45bfe546b023383d4382af7767359390e264 (diff) | |
| download | cpython-2067bfdf253e134a4144d3747300dbfcc7cc6203.zip cpython-2067bfdf253e134a4144d3747300dbfcc7cc6203.tar.gz cpython-2067bfdf253e134a4144d3747300dbfcc7cc6203.tar.bz2 | |
Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.
Diffstat (limited to 'Lib/mimetools.py')
| -rw-r--r-- | Lib/mimetools.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py index 0112f48..3ea5e1b 100644 --- a/Lib/mimetools.py +++ b/Lib/mimetools.py @@ -96,11 +96,11 @@ class Message(rfc822.Message): # ----------------- try: - import thread + import _thread except ImportError: - import dummy_thread as thread -_counter_lock = thread.allocate_lock() -del thread + import _dummy_thread as _thread +_counter_lock = _thread.allocate_lock() +del _thread _counter = 0 def _get_next_counter(): |
