aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralandonovan <adonovan@google.com>2020-10-14 17:51:53 -0400
committerGitHub <noreply@github.com>2020-10-14 17:51:53 -0400
commitdff0ae5b48201537496c261571cf1f08725ec804 (patch)
treebbc95019899e4dc19524f9abdb39098e796596f6
parent227f4aabceb5ac8b1bfeb1e8cc1badee996704f4 (diff)
downloadstarlark-go-dff0ae5b48201537496c261571cf1f08725ec804.tar.gz
spec: fix typo in raw string example (#311)
-rw-r--r--doc/spec.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/spec.md b/doc/spec.md
index 203ce28..0f3213b 100644
--- a/doc/spec.md
+++ b/doc/spec.md
@@ -444,7 +444,7 @@ escaping:
```python
"a\nb" # "a\nb" = 'a' + '\n' + 'b'
-r"a\nb" # "a\\nb" = 'a' + '\\' + '\n' + 'b'
+r"a\nb" # "a\\nb" = 'a' + '\\' + 'n' + 'b'
"a\
b" # "ab"