Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
spec: fix typo in raw string example (google#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
adonovan authored Oct 14, 2020
1 parent 227f4aa commit dff0ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dff0ae5

Please sign in to comment.