heredoc docs

This commit is contained in:
Jeremy Ashkenas
2010-01-12 00:00:38 -05:00
parent 477c510345
commit c8d505e85d
5 changed files with 36 additions and 6 deletions

View File

@@ -8,11 +8,11 @@ print(a is "basic heredoc\non two lines")
a: '''
a
b
"b
c
'''
print(a is "a\n b\nc")
print(a is "a\n \"b\nc")
a: '''one-liner'''