Skip to content

Instantly share code, notes, and snippets.

@griiid
Last active March 18, 2021 13:35
Show Gist options
  • Save griiid/443b4f98db99962c7066a62561a3ac6f to your computer and use it in GitHub Desktop.
Save griiid/443b4f98db99962c7066a62561a3ac6f to your computer and use it in GitHub Desktop.
# 沒有垂直對齊時,第一行不應該有參數
foo = long_function_name(var_one, var_two,
var_three, var_four)
# 其他行要多縮一次縮排,不然沒辦法跟再下一層的內容分開
def long_function_name(
var_one, var_two, var_three,
var_four):
print(var_one)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment