mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
threading.pyi: Add currentThread for all versions (#2647)
Fixes https://github.com/python/typeshed/issues/2625
This commit is contained in:
1 parent
5663dba895
commit
388de0876b
1 file changed
+1
-2
@@ -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