multiline_if.gd 205 B

1234567891011121314
  1. func test():
  2. # Line breaks are allowed within parentheses.
  3. if (
  4. 1 == 1
  5. and 2 == 2 and
  6. 3 == 3
  7. ):
  8. pass
  9. # Alternatively, backslashes can be used.
  10. if 1 == 1 \
  11. and 2 == 2 and \
  12. 3 == 3:
  13. pass