mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-06 21:04: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:
|
if print_diff:
|
||||||
print(''.join(
|
print(''.join(
|
||||||
difflib.unified_diff(modified_lines, code_lines)
|
difflib.unified_diff(code_lines, modified_lines)
|
||||||
))
|
))
|
||||||
|
|
||||||
grammar.parse(code, diff_cache=True)
|
grammar.parse(code, diff_cache=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user