commit | 2067bfdf253e134a4144d3747300dbfcc7cc6203 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun May 25 13:05:15 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Sun May 25 13:05:15 2008 +0000 |
tree | 76613f07319d07cc4f0159769131a051504f8c69 | |
parent | 3b4b45bfe546b023383d4382af7767359390e264 [diff] [blame] |
Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.
diff --git a/Lib/telnetlib.py b/Lib/telnetlib.py index db37200..33029e1 100644 --- a/Lib/telnetlib.py +++ b/Lib/telnetlib.py
@@ -548,8 +548,8 @@ def mt_interact(self): """Multithreaded version of interact().""" - import thread - thread.start_new_thread(self.listener, ()) + import _thread + _thread.start_new_thread(self.listener, ()) while 1: line = sys.stdin.readline() if not line: