# Python has no indented here-document; textwrap.dedent removes the whitespace
# common to every non-blank line, which is Ruby's rule rather than Perl's.
import textwrap

sql = textwrap.dedent("""\
      SELECT name
        FROM users
       WHERE id = 7
    """)
print("textwrap.dedent on lines indented 6, 8 and 7, last line indented 4:")
for line in sql.splitlines():
    print(f"  |{line}|")
