But does not work correctly with parentheses and square brackets:
(|)
results in
(
|
)
and
[|]
results in
[
|
]
Is there something special about square brackets and parentheses? Is this some PEP8 hard-coded-ness? The desired results (similar to the curly braces) seem to be approved by PEP8: https://www.python.org/dev/peps/pep-0008/#indentation .
Hitting
<CR>
at the|
:results in
But does not work correctly with parentheses and square brackets:
results in
and
results in
Is there something special about square brackets and parentheses? Is this some PEP8 hard-coded-ness? The desired results (similar to the curly braces) seem to be approved by PEP8: https://www.python.org/dev/peps/pep-0008/#indentation .