mirror of
https://github.com/davidhalter/parso.git
synced 2026-01-03 10:04:22 +08:00
Most fstrings issues should be fixed now.
This commit is contained in:
@@ -154,7 +154,7 @@ def _tokenize(code, start_pos=(1, 0)):
|
||||
)
|
||||
start = len(code)
|
||||
break
|
||||
expression += found + code[start:index]
|
||||
expression += found + code[start:index+1]
|
||||
start = index + 1
|
||||
elif found == '!' and len(code) > start and code[start] == '=':
|
||||
# This is a python `!=` and not a conversion.
|
||||
|
||||
Reference in New Issue
Block a user