Rename variables in the internal loops.
print("----- -----")
if find_error(statement):
print("ERRORS IN QUERY")
- for statement in process_statement(statement):
- print_tokens(statement, encoding='utf-8')
+ for _statement in process_statement(statement):
+ print_tokens(_statement, encoding='utf-8')
print()
- statement._pprint_tree()
+ _statement._pprint_tree()
print("-----/-----")
tokens = grouper.close()
if tokens:
got_directive = is_directive_statement(statement)
if got_directive:
continue
- for statement in process_statement(statement, quoting_style):
- print_tokens(statement, outfile=outfile,
+ for _statement in process_statement(statement, quoting_style):
+ print_tokens(_statement, outfile=outfile,
encoding=output_encoding)
tokens = grouper.close()
if tokens: