Python and PEP8 - Recommendations on breaking up long lines?
rosuav at gmail.com
Thu Nov 28 07:22:22 CET 2013
On Thu, Nov 28, 2013 at 5:12 PM, Jussi Piitulainen
<jpiitula at ling.helsinki.fi> 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