From: Neal Norwitz Date: Tue, 19 Feb 2002 03:01:36 +0000 (+0000) Subject: SF #515023. Make _DummyThread.join() signature match base class (Thread) X-Git-Tag: v2.3c1~6646 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45bec8c7fc4c7a27a540814419b1bca052ecc3b2;p=python SF #515023. Make _DummyThread.join() signature match base class (Thread) --- diff --git a/Lib/threading.py b/Lib/threading.py index 6543cc36cb..9763c629d8 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -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"