From: Yilei "Dolee" Yang Date: Tue, 24 Jan 2023 05:38:30 +0000 (-0800) Subject: Update document now that paren wrapping CMs on Python 3.9+ is implemented (#3520) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/d950f15987a49a5f3e37127ec718b4c12666b8cf?hp=a36878eb2f375e2ac1e13052f663909f3835ec46 Update document now that paren wrapping CMs on Python 3.9+ is implemented (#3520) --- diff --git a/docs/the_black_code_style/future_style.md b/docs/the_black_code_style/future_style.md index 9ca260f..7a0b2d8 100644 --- a/docs/the_black_code_style/future_style.md +++ b/docs/the_black_code_style/future_style.md @@ -31,8 +31,8 @@ with \ ... # backslashes and an ugly stranded colon ``` -Although when the target version is Python 3.9 or higher, _Black_ will, when we -implement this, use parentheses instead since they're allowed in Python 3.9 and higher. +Although when the target version is Python 3.9 or higher, _Black_ uses parentheses +instead in `--preview` mode (see below) since they're allowed in Python 3.9 and higher. An alternative to consider if the backslashes in the above formatting are undesirable is to use {external:py:obj}`contextlib.ExitStack` to combine context managers in the