mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-06 12:54:29 +08:00
Use the right diff order in debug output
This commit is contained in:
@@ -103,7 +103,7 @@ class FileModification:
|
||||
|
||||
if print_diff:
|
||||
print(''.join(
|
||||
difflib.unified_diff(modified_lines, code_lines)
|
||||
difflib.unified_diff(code_lines, modified_lines)
|
||||
))
|
||||
|
||||
grammar.parse(code, diff_cache=True)
|
||||
|
||||
Reference in New Issue
Block a user