Add ThreadPoolExecture/README.md
This commit is contained in:
6
ThreadPoolExecture/README.md
Normal file
6
ThreadPoolExecture/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
Exception catched
|
||||
|
||||
```python
|
||||
__import__('concurrent').futures.ThreadPoolExecutor().submit(
|
||||
lambda x: (print(x * 2) or x ** 2 / 0), 3).result()
|
||||
```
|
||||
Reference in New Issue
Block a user