fn new()

in src/diffs.rs [15:23]


    fn new(py: Python<'a>, has_hunks: bool) -> Self {
        PyDiff {
            py,
            diff: PyDict::new_bound(py),
            lines: Vec::new(),
            hunks: Vec::new(),
            has_hunks,
        }
    }