forked from VimPlug/jedi
Remove use_exact_op_types because the default changed.
This commit is contained in:
@@ -119,7 +119,7 @@ def get_stack_at_position(grammar, code_lines, module_node, pos):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def tokenize_without_endmarker(code):
|
def tokenize_without_endmarker(code):
|
||||||
tokens = tokenize.source_tokens(code, use_exact_op_types=True)
|
tokens = tokenize.source_tokens(code)
|
||||||
for token_ in tokens:
|
for token_ in tokens:
|
||||||
if token_.string == safeword:
|
if token_.string == safeword:
|
||||||
raise EndMarkerReached()
|
raise EndMarkerReached()
|
||||||
|
|||||||
Reference in New Issue
Block a user