You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-In a raw string literal, as indicated by the prefix `r`, the backslash doesn't have the special meaning.
670
+
-在以 `r` 开头的原始字符串中, 反斜杠并没有特殊含义.
671
671
```py
672
672
>>>print(repr(r"wt\"f"))
673
673
'wt\\"f'
674
674
```
675
-
-What the interpreter actually does, though, is simply change the behavior of backslashes, so they pass themselves and the following character through. That's why backslashes don't work at the end of a raw string.
0 commit comments