mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-03 06:03:47 +08:00
Remove use_exact_op_types because the default changed.
This commit is contained in:
1 parent
24cd603fcf
commit
3015e7e60f
1 file changed
+1
-1
+1
-1
@@ -119,7 +119,7 @@ def get_stack_at_position(grammar, code_lines, module_node, pos):
|
||||
pass
|
||||
|
||||
def tokenize_without_endmarker(code):
|
||||
tokens = tokenize.source_tokens(code, use_exact_op_types=True)
|
||||
tokens = tokenize.source_tokens(code)
|
||||
for token_ in tokens:
|
||||
if token_.string == safeword:
|
||||
raise EndMarkerReached()
|
||||
|
||||
Reference in new issue
Block a user