File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -1178,20 +1178,6 @@ def next_indentation(line, tab_length):
11781178 return indentation
11791179
11801180
1181- def next_token_inside_string (code_string , inside_string ):
1182- """Given a code string s and an initial state inside_string, return
1183- whether the next token will be inside a string or not."""
1184- for token , value in Python3Lexer ().get_tokens (code_string ):
1185- if token is Token .String :
1186- value = value .lstrip ("bBrRuU" )
1187- if value in ('"""' , "'''" , '"' , "'" ):
1188- if not inside_string :
1189- inside_string = value
1190- elif value == inside_string :
1191- inside_string = False
1192- return inside_string
1193-
1194-
11951181def split_lines (tokens ):
11961182 for (token , value ) in tokens :
11971183 if not value :
You can’t perform that action at this time.
0 commit comments