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

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -