mirror of
https://github.com/davidhalter/parso.git
synced 2026-11-10 19:50:26 +08:00
spelling
This commit is contained in:
1 parent
b90e5cd758
commit
53a6d0c17a
1 file changed
+3
-3
@@ -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