HomePhabricator

patch: properly escape \ in string literals

Authored by indygreg.

Description

patch: properly escape \ in string literals

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.

Differential Revision: https://phab.mercurial-scm.org/D5818

Details

Committed
indygregFeb 4 2019, 11:59 AM
Differential Revision
D5818: patch: properly escape \ in string literals
Parents
rHG0f64091cc851: global: make some docstrings raw strings
Branches
Unknown
Tags
Unknown