mirror of
https://github.com/davidhalter/parso.git
synced 2026-05-19 23:10:16 +08:00
spelling
This commit is contained in:
@@ -314,9 +314,9 @@ class FStringNode(object):
|
|||||||
|
|
||||||
def _close_fstring_if_necessary(fstring_stack, string, start_pos, additional_prefix):
|
def _close_fstring_if_necessary(fstring_stack, string, start_pos, additional_prefix):
|
||||||
for fstring_stack_index, node in enumerate(fstring_stack):
|
for fstring_stack_index, node in enumerate(fstring_stack):
|
||||||
lstriped_string = string.lstrip()
|
lstripped_string = string.lstrip()
|
||||||
len_lstrip = len(string) - len(lstriped_string)
|
len_lstrip = len(string) - len(lstripped_string)
|
||||||
if lstriped_string.startswith(node.quote):
|
if lstripped_string.startswith(node.quote):
|
||||||
token = PythonToken(
|
token = PythonToken(
|
||||||
FSTRING_END,
|
FSTRING_END,
|
||||||
node.quote,
|
node.quote,
|
||||||
|
|||||||
Reference in New Issue
Block a user