X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/78163939f157d9e18a8c0528fc5e1c58b1c1e69c..72a3408965f944f39f1080a5b67c25790acdc4e2:/src/black/linegen.py?ds=inline diff --git a/src/black/linegen.py b/src/black/linegen.py index fe6ea11..2e75bc9 100644 --- a/src/black/linegen.py +++ b/src/black/linegen.py @@ -1268,6 +1268,8 @@ def maybe_make_parens_invisible_in_atom( syms.expr_stmt, syms.assert_stmt, syms.return_stmt, + syms.except_clause, + syms.funcdef, # these ones aren't useful to end users, but they do please fuzzers syms.for_stmt, syms.del_stmt,