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.
1 parent 1c84982 commit a8dea5eCopy full SHA for a8dea5e
1 file changed
stdlib/3/concurrent/futures/thread.pyi
@@ -1,5 +1,10 @@
1
from typing import Optional
2
from ._base import Executor, Future
3
+import sys
4
5
class ThreadPoolExecutor(Executor):
- def __init__(self, max_workers: Optional[int] = ...) -> None: ...
6
+ if sys.version_info >= (3, 6):
7
+ def __init__(self, max_workers: Optional[int] = ...,
8
+ thread_name_prefix: str = ...) -> None: ...
9
+ else:
10
+ def __init__(self, max_workers: Optional[int] = ...) -> None: ...
0 commit comments