Skip to content

Commit 6d3237e

Browse files
authored
Merge pull request #1536 from cgay/rectangle-rule
Update Language Extensions docs for DEP 12
2 parents f4bf7f1 + 859a602 commit 6d3237e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

documentation/library-reference/source/language-extensions/string-literals.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@ processing ("raw" strings) and multi-line strings. Briefly,
99
#. Multi-line strings begin with three double-quote characters: ``"""``
1010

1111
#. End-of-line sequences in multi-line strings are always parsed as a single
12-
Newline (``\\n``) character, regardless of source file line endings or the
12+
Newline (``\n``) character, regardless of source file line endings or the
1313
conventions of the operating system.
1414

1515
#. Any string, whether delimited by ``"`` or ``"""`` may be prefixed with
1616
``#r`` or ``#R`` to disable escape sequence processing.
1717

18+
#. Any leading whitespace that *matches the whitespace preceding the end
19+
``"""`` delimiter* is removed, allowing multi-line strings to be formatted
20+
nicely in source code.
21+
1822
See `DEP 12 <https://opendylan.org/proposals/dep-0012-string-literals.html>`_
1923
for details.

0 commit comments

Comments
 (0)