Escape backslashes in Python comments.

The latest version of flake8 diagnoses these as invalid escape
sequences, so properly escape them.
This commit is contained in:
Dan Gohman
2018-10-24 10:00:42 -07:00
parent 6a234893eb
commit a2fcb32245
7 changed files with 10 additions and 10 deletions

View File

@@ -98,7 +98,7 @@ def check_concrete_typing_rtl(var_types, rtl):
Check that a concrete type assignment var_types (Dict[Var, TypeVar]) is
valid for an Rtl rtl. Specifically check that:
1) For each Var v \in rtl, v is defined in var_types
1) For each Var v \\in rtl, v is defined in var_types
2) For all v, var_types[v] is a singleton type