diff options
author | Dong-hee Na <donghee.na92@gmail.com> | 2019-08-12 17:41:08 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2019-08-12 17:41:08 (GMT) |
commit | 44046fe4fc7f00a6eb855b33e6a3f953cf5233a5 (patch) | |
tree | d5d6a257c9860201c1322ff6676e2296fc0c7a96 /Lib/threading.py | |
parent | f9590edfeae192ba95aadaee9460dc03a366c51a (diff) | |
download | cpython-44046fe4fc7f00a6eb855b33e6a3f953cf5233a5.zip cpython-44046fe4fc7f00a6eb855b33e6a3f953cf5233a5.tar.gz cpython-44046fe4fc7f00a6eb855b33e6a3f953cf5233a5.tar.bz2 |
bpo-37804: Remove the deprecated method threading.Thread.isAlive() (GH-15225)
Diffstat (limited to 'Lib/threading.py')
-rw-r--r-- | Lib/threading.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/threading.py b/Lib/threading.py index cec9cdb..32a3d7c 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -1088,16 +1088,6 @@ class Thread: self._wait_for_tstate_lock(False) return not self._is_stopped - def isAlive(self): - """Return whether the thread is alive. - - This method is deprecated, use is_alive() instead. - """ - import warnings - warnings.warn('isAlive() is deprecated, use is_alive() instead', - DeprecationWarning, stacklevel=2) - return self.is_alive() - @property def daemon(self): """A boolean value indicating whether this thread is a daemon thread. |