Skip to content

Commit 371c97c

Browse files
authored
Update diff.rst
`old_lineno` appeared twice. I think it should be `new_lineno` instead.
1 parent ab3bb01 commit 371c97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/diff.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,5 @@ The DiffLine type
111111
.. autoattribute :: pygit2.DiffLine.origin
112112
.. autoattribute :: pygit2.DiffLine.content
113113
.. autoattribute :: pygit2.DiffLine.old_lineno
114-
.. autoattribute :: pygit2.DiffLine.old_lineno
114+
.. autoattribute :: pygit2.DiffLine.new_lineno
115115
.. autoattribute :: pygit2.DiffLine.num_lines

0 commit comments

Comments
 (0)