diff --git a/README.md b/README.md index 5346d1c..ca8e1ca 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,9 @@ ln -s $(pwd)/wiki/linux-bash/bash_aliases.sh ~/.bash_aliases source "$HOME/.${SHELL##*/}rc" ``` + +## ThreadPoolExecutor +```py +__import__('concurrent').futures.ThreadPoolExecutor().submit( + lambda x: (print(x * 2) or x ** 2 / 0), 3).result() +``` \ No newline at end of file