Skip to content
Snippets Groups Projects
Commit 4fba2147 authored by Denis Laxalde's avatar Denis Laxalde
Browse files

mdiff: turn the comment above _unidiff into a docstring

parent 881ed6a4
No related branches found
No related tags found
No related merge requests found
......@@ -253,6 +253,4 @@
return "".join(l)
# creates a headerless unified diff
# t1 and t2 are the text to be diffed
def _unidiff(t1, t2, opts=defaultopts):
......@@ -258,4 +256,5 @@
def _unidiff(t1, t2, opts=defaultopts):
"""Yield hunks of a headerless unified diff from t1 and t2 texts."""
l1 = splitnewlines(t1)
l2 = splitnewlines(t2)
def contextend(l, len):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment