News for hackers. Stuff that matters.
Re:Black – Uncompromising Python code formatter by switch007 on Friday May 17, 2019 @12:38PM (#19941207)
> Black formats this as:

To be clear though, in your example, it would format it as:

  basket.add({apple.stem for satchel in satchels for apple in satchel})
It might also format it as

  basket.add(
      {apple.stem for satchel in satchels for apple in satchel}
  )
It only formats like your example if the statement is much further indented I believe

There are no comments on this comment yet.