python-unidiff
python-unidiff copied to clipboard
Limiting the number of context lines
Is there a way to limit the number of context lines before and after a modified / added / removed line?
Not sure what you mean, when or where would you like to limit the context lines? (unidiff parses an existing diff, context lines are defined when the diff is produced)