mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-24 21:47:22 +08:00
Use the right diff order in debug output
This commit is contained in:
1 parent
a8ec75fedd
commit
d1d866f6c6
1 file changed
+1
-1
@@ -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