diff --git a/src/blib2to3/pgen2/tokenize.py b/src/blib2to3/pgen2/tokenize.py index bac59b75f17..b86b91ed37f 100644 --- a/src/blib2to3/pgen2/tokenize.py +++ b/src/blib2to3/pgen2/tokenize.py @@ -622,10 +622,10 @@ def generate_tokens( spos = strstart epos = (lnum, end) tokenline = contline + line - if ( - fstring_state.current() in (STATE_NOT_FSTRING, STATE_IN_BRACES) - and not is_fstring_start(token) - ): + if fstring_state.current() in ( + STATE_NOT_FSTRING, + STATE_IN_BRACES, + ) and not is_fstring_start(token): yield (STRING, token, spos, epos, tokenline) endprog_stack.pop() parenlev = parenlev_stack.pop()