forked from VimPlug/jedi
fix a problem related to #246: comments were used as normal strings
This commit is contained in:
@@ -1114,7 +1114,7 @@ class Statement(Simple):
|
||||
result = []
|
||||
is_chain = False
|
||||
else:
|
||||
if tok != '\n':
|
||||
if tok != '\n' and token_type != tokenize.COMMENT:
|
||||
result.append(tok)
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user