patch: properly escape \ in string literals
ClosedPublic

Authored by indygreg on Mon, Feb 4, 12:18 PM.

Details

Summary

Python 3.8 will emit a SyntaxWarning for str/bytes with invalid
escapes. This commit addresses 4 occurrences where we had a bare
\ in a str/bytes.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
indygreg created this revision.Mon, Feb 4, 12:18 PM
This revision was automatically updated to reflect the committed changes.