Should a Line Break Before or After a Binary Operator?
PEP 8がupdateされた話
For decades the recommended style was to break after binary operators.
二項演算子の後で改行。読みにくいと指摘される(2つの理由)
“Although formulas within a paragraph always break after binary operations and relations, displayed formulas always break before binary operations”
Knuth先生を引く
二項演算子の前で改行、読みやすい
In Python code, it is permissible to break before or after a binary operator, as long as the convention is consistent locally. For new code Knuth’s style is suggested.
「コードの慣習がローカルで一貫していることが重要」
「新しいコードはKnuth氏のスタイル(二項演算子の前)が提案される」
IMO:二項演算子の後で開業していた時期が長いのでどっちもあり(片方を排除できない)と理解