Python and PEP8 - Recommendations on breaking up long lines?

Chris Angelico rosuav at
Thu Nov 28 07:22:22 CET 2013

On Thu, Nov 28, 2013 at 5:12 PM, Jussi Piitulainen
<jpiitula at> wrote:
>                      if ( os.path.join(root, file)
>                           not in previously_processed_files and
>                           os.path.join(root, file)[:-3]
>                           not in previously_processed_files ):

Eww, don't like this. The indentation puts the two halves of the
condition on equal footing, which they're not.


More information about the Python-list mailing list