styles - Multiline with clause in Python -


how can spread long with clause in python on multiple lines? right now, have

    self.context_manager_one(some, parameters, that, are, passed) \             return_value_one, \             self.context_manager_two(self.p, slice(none), none) \             return_value_two: 

i follow google's python style guide, proscribes backslash line continuation.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -