Skip to content

Commit 97c10e6

Browse files
authored
Merge pull request satwikkansal#177 from larsks/fix/quotes
Clarify for quoting examples
2 parents 8e6c850 + 3e99005 commit 97c10e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ True
12101210
12111211
- In a usual python string, the backslash is used to escape characters that may have a special meaning (like single-quote, double-quote, and the backslash itself).
12121212
```py
1213-
>>> 'wt\"f'
1213+
>>> "wt\"f"
12141214
'wt"f'
12151215
```
12161216
- In a raw string literal (as indicated by the prefix `r`), the backslashes pass themselves as is along with the behavior of escaping the following character.

0 commit comments

Comments
 (0)