mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 10:40:44 -06:00
docs: show full context of diff
This commit is contained in:
parent
0392c6f0e7
commit
0e12692b71
1 changed files with 5 additions and 1 deletions
|
@ -22,7 +22,11 @@ print(
|
||||||
Syntax(
|
Syntax(
|
||||||
"\n".join(
|
"\n".join(
|
||||||
unified_diff(
|
unified_diff(
|
||||||
old_sys_path, sys.path, "pre-viv sys.path", "post-viv sys.path"
|
old_sys_path,
|
||||||
|
sys.path,
|
||||||
|
"pre-viv sys.path",
|
||||||
|
"post-viv sys.path",
|
||||||
|
n=max(map(len, (old_sys_path, sys.path))),
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
"diff",
|
"diff",
|
||||||
|
|
Loading…
Reference in a new issue