mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
threading.pyi: Add currentThread for all versions (#2647)
Fixes https://github.com/python/typeshed/issues/2625
This commit is contained in:
committed by
Jelle Zijlstra
parent
5663dba895
commit
388de0876b
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user