Fix docs mistake

This commit is contained in:
Andras Schmelczer 2026-10-27 21:12:22 +00:00
commit 619202acf8

View file

@ -81,7 +81,7 @@ changed = "Hello beautiful world"
# Generate a compact diff
d = diff(original, changed)
print(d) # [5, ' beautiful world']
print(d) # [5, ' beautiful', 6]
# Reconstruct the changed text from the diff
reconstructed = undiff(original, d)