Show More
@@ -139,6 +139,8 def replacetokens(tokens, opts): | |||
|
139 | 139 | # components touching docstrings need to handle unicode, |
|
140 | 140 | # unfortunately. |
|
141 | 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 | 144 | yield adjusttokenpos(t, coloffset) |
|
143 | 145 | continue |
|
144 | 146 |
General Comments 0
You need to be logged in to leave comments.
Login now