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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -