From 9ee458226c212acc2691f014d2a5575f33160d6d Mon Sep 17 00:00:00 2001 From: PRAJWAL M <30733262+PrajwalM2212@users.noreply.github.com> Date: Sun, 28 Oct 2018 03:51:47 +0530 Subject: [PATCH] Remove version guard (#2565) isAlive() is still present in threading.py in python 2.7, 3.4, 3.5, 3.6, 3.7. Closes #2552 --- stdlib/2and3/threading.pyi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stdlib/2and3/threading.pyi b/stdlib/2and3/threading.pyi index a5edf6a4a..a76cd9c6d 100644 --- a/stdlib/2and3/threading.pyi +++ b/stdlib/2and3/threading.pyi @@ -69,8 +69,7 @@ class Thread: def getName(self) -> str: ... def setName(self, name: str) -> None: ... def is_alive(self) -> bool: ... - if sys.version_info < (3,): - def isAlive(self) -> bool: ... + def isAlive(self) -> bool: ... def isDaemon(self) -> bool: ... def setDaemon(self, daemonic: bool) -> None: ...