mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
SF #515023. Make _DummyThread.join() signature match base class (Thread)
This commit is contained in:
parent
ba902fda3c
commit
45bec8c7fc
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ class _DummyThread(Thread):
|
|||
def _set_daemon(self):
|
||||
return 1
|
||||
|
||||
def join(self):
|
||||
def join(self, timeout=None):
|
||||
assert 0, "cannot join a dummy thread"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue