mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix last traces of old threading API.
This commit is contained in:
parent
7634ff5ad6
commit
f992640ed3
7 changed files with 25 additions and 25 deletions
|
@ -149,7 +149,7 @@ class SocketIO(object):
|
|||
def debug(self, *args):
|
||||
if not self.debugging:
|
||||
return
|
||||
s = self.location + " " + str(threading.current_thread().getName())
|
||||
s = self.location + " " + str(threading.current_thread().get_name())
|
||||
for a in args:
|
||||
s = s + " " + str(a)
|
||||
print(s, file=sys.__stderr__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue