From 388de0876b152470990d151edd46f3a96f9ea86b Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Thu, 29 Nov 2018 08:22:27 +0530 Subject: [PATCH] threading.pyi: Add currentThread for all versions (#2647) Fixes https://github.com/python/typeshed/issues/2625 --- 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 a76cd9c6d..ffd379260 100644 --- a/stdlib/2and3/threading.pyi +++ b/stdlib/2and3/threading.pyi @@ -19,8 +19,7 @@ if sys.version_info < (3,): def activeCount() -> int: ... def current_thread() -> Thread: ... -if sys.version_info < (3,): - def currentThread() -> Thread: ... +def currentThread() -> Thread: ... if sys.version_info >= (3,): def get_ident() -> int: ...