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

@@ -419,7 +419,7 @@ class TypeEnv(object):
E.g. if we have a root of the tree that looks like:
typeof_a typeof_b
\ /
\\ /
typeof_x
|
half_width(1)
@@ -430,7 +430,7 @@ class TypeEnv(object):
resulting graph is:
typeof_a typeof_b
\ /
\\ /
typeof_x
"""
source_tvs = set([v.get_typevar() for v in self.vars])