Skip to content

Instantly share code, notes, and snippets.

@jakul
Last active December 24, 2015 07:09
Show Gist options
  • Save jakul/6761959 to your computer and use it in GitHub Desktop.
Save jakul/6761959 to your computer and use it in GitHub Desktop.
PEP8 indentation
# taken from http://www.python.org/dev/peps/pep-0008/#indentation
.....
or it may be lined up under the first character of the line that starts the multi-line construct, as in:
my_list = [
1, 2, 3,
4, 5, 6,
]
result = some_function_that_takes_arguments(
'a', 'b', 'c',
'd', 'e', 'f',
)
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment