Comment by giancarlostoro
Comment by giancarlostoro 3 days ago
Thank you! It seems this works for not just parens but square brackets and curly braces too! Only special requirement is indentation is consistent (duh though).
I've not been doing Python day-to-day so I'm starting to lose my touch on all the nice little tricks.
Yeah, this seems neatest if you don't like line breaks
pipeline = (
)Square brackets would create a list and braces would create a set of course. The contents still can be split over different lines-- just pointing that this syntax doesn't do the same thing.