From 0564709ba77bca0b50da31cf3149cf5b0654f8a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 20 Jul 2023 07:09:38 +0200 Subject: [PATCH] Threading --- README.md | 2 +- index.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7ab893f..de2cc7a 100644 --- a/README.md +++ b/README.md @@ -2143,7 +2143,7 @@ with : # Enters the block by calling acq ```python = ThreadPoolExecutor(max_workers=None) # Or: `with ThreadPoolExecutor() as : …` = .map(, , ...) # Multithreaded and non-lazy map(). Keeps order. - = .submit(, , ...) # Creates a thread and returns its Future object. + = .submit(, , ...) # Creates a thread and returns its Future obj. .shutdown(wait=True) # Blocks until all threads finish executing. ``` diff --git a/index.html b/index.html index f955b68..0f35e4a 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
- +
@@ -1771,7 +1771,7 @@ CompletedProcess(args=['bc', Thread Pool Executor
<Exec> = ThreadPoolExecutor(max_workers=None)  # Or: `with ThreadPoolExecutor() as <name>: …`
 <iter> = <Exec>.map(<func>, <args_1>, ...)     # Multithreaded and non-lazy map(). Keeps order.
-<Futr> = <Exec>.submit(<func>, <arg_1>, ...)   # Creates a thread and returns its Future object.
+<Futr> = <Exec>.submit(<func>, <arg_1>, ...)   # Creates a thread and returns its Future obj.
 <Exec>.shutdown(wait=True)                     # Blocks until all threads finish executing.
 
@@ -2933,7 +2933,7 @@ $ pyinstaller script.py --add-data '<path>:.'