Show More
@@ -139,6 +139,8 def replacetokens(tokens, opts): | |||||
139 | # components touching docstrings need to handle unicode, |
|
139 | # components touching docstrings need to handle unicode, | |
140 | # unfortunately. |
|
140 | # unfortunately. | |
141 | if s[0:3] in ("'''", '"""'): |
|
141 | if s[0:3] in ("'''", '"""'): | |
|
142 | # If it's assigned to something, it's not a docstring | |||
|
143 | if not _isop(i - 1, '='): | |||
142 | yield adjusttokenpos(t, coloffset) |
|
144 | yield adjusttokenpos(t, coloffset) | |
143 | continue |
|
145 | continue | |
144 |
|
146 |
General Comments 0
You need to be logged in to leave comments.
Login now