[openstack-dev] [style] () vs \ continuations

Chris Behrens cbehrens at codestud.com
Thu Nov 14 06:34:35 UTC 2013


On Nov 13, 2013, at 6:55 PM, Robert Collins <robertc at robertcollins.net> wrote:

> On 14 November 2013 15:28, Chris Behrens <cbehrens at codestud.com> wrote:
>> For this example, I'd look at using parens on the left side to see if that helps.  I also, like Sean, really dislike the look of \.
> 
> I dislike \ most of the time too :).
> 

:)

> 
>>>> (foo, bar, baz =
>  File "<stdin>", line 1
>    (foo, bar, baz =
>                   ^
> SyntaxError: invalid syntax

Right.  I was thinking something like this:

(folder_exists, file_exists,
 file_size_in_kb, disk_extents) = self._path_file_exists(ds_browser,
                                                                                       folder_path,
                                                                                       file_name)

Or something similar.

- Chris




More information about the OpenStack-dev mailing list