Merge remote-tracking branch 'rmoehn/diff-iter'
This commit is contained in:
@@ -35,6 +35,10 @@ The Diff type
|
|||||||
====================
|
====================
|
||||||
|
|
||||||
.. autoattribute:: pygit2.Diff.patch
|
.. autoattribute:: pygit2.Diff.patch
|
||||||
|
.. method:: Diff.__iter__()
|
||||||
|
|
||||||
|
Returns an iterator over the deltas/patches in this diff.
|
||||||
|
|
||||||
.. method:: Diff.__len__()
|
.. method:: Diff.__len__()
|
||||||
|
|
||||||
Returns the number of deltas/patches in this diff.
|
Returns the number of deltas/patches in this diff.
|
||||||
|
Reference in New Issue
Block a user