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

@@ -345,7 +345,7 @@ class Instruction(object):
`(inst, typevars)` pair.
This version in `Instruction` itself allows non-polymorphic
instructions to duck-type as `BoundInstruction`\s.
instructions to duck-type as `BoundInstruction`\\s.
"""
assert not self.is_polymorphic, self
return (self, ())