Message300674
| Author |
veky |
| Recipients |
quamrana, veky |
| Date |
2017年08月22日.08:14:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1503389661.04.0.0839067146181.issue31253@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
That's because it is not commented code, it is a multiline string literal. And it is not raw, so \Un... is just an error, since n is not a valid hexadecimal digit. In the first code, \Un... is inside a raw string so it is read literally.
There is nothing to fix here. If you really want to continue confusing string literals and comments, you'll have to use r'''...''' to be a bit more general for this case. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年08月22日 08:14:21 | veky | set | recipients:
+ veky, quamrana |
| 2017年08月22日 08:14:21 | veky | set | messageid: <1503389661.04.0.0839067146181.issue31253@psf.upfronthosting.co.za> |
| 2017年08月22日 08:14:20 | veky | link | issue31253 messages |
| 2017年08月22日 08:14:20 | veky | create |
|