Update README.md
This commit is contained in:
@@ -3,3 +3,9 @@
|
|||||||
ln -s $(pwd)/wiki/linux-bash/bash_aliases.sh ~/.bash_aliases
|
ln -s $(pwd)/wiki/linux-bash/bash_aliases.sh ~/.bash_aliases
|
||||||
source "$HOME/.${SHELL##*/}rc"
|
source "$HOME/.${SHELL##*/}rc"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## ThreadPoolExecutor
|
||||||
|
```py
|
||||||
|
__import__('concurrent').futures.ThreadPoolExecutor().submit(
|
||||||
|
lambda x: (print(x * 2) or x ** 2 / 0), 3).result()
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user