We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stub is defined like so:
if sys.version_info < (3,): def currentThread() -> Thread: ...
But it seems Python 3.6 also has currentThread (although undocumented):
currentThread
$ python3 Python 3.6.6 (default, Sep 12 2018, 18:26:19) [GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import threading >>> threading.currentThread <function current_thread at 0x7febeb087840>
This issue is similar to #2552
The text was updated successfully, but these errors were encountered:
threading.pyi: Add currentThread for all versions
1d8f5dc
Fixes python#2625
6521c00
threading.pyi: Add currentThread for all versions (#2647)
388de08
Fixes #2625
threading.pyi: Add currentThread for all versions (python#2647)
8777089
No branches or pull requests
Stub is defined like so:
But it seems Python 3.6 also has
currentThread
(although undocumented):This issue is similar to #2552
The text was updated successfully, but these errors were encountered: