multiline_if.gd 208 B

123456789101112131415
  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. \
  12. and 2 == 2 and \
  13. 3 == 3:
  14. pass