tuple[int, str]: The first line shown and the text. Without an enclosing definition (a module-level statement) a window of a few lines around the change.
Examples
from babregen.review.gate import excerptsource ="X = 1\n\ndef f():\n return 1\n"first, text = excerpt(source, 4, 4)print(first)print(text)