wrong order of the args in docstring of write_archive
This commit is contained in:
@@ -765,7 +765,7 @@ class Repository(_Repository):
|
||||
>>> import tarfile, pygit2
|
||||
>>>> with tarfile.open('foo.tar', 'w') as archive:
|
||||
>>>> repo = pygit2.Repsitory('.')
|
||||
>>>> repo.write_archive(archive, repo.head.target)
|
||||
>>>> repo.write_archive(repo.head.target, archive)
|
||||
"""
|
||||
|
||||
# Try to get a tree form whatever we got
|
||||
|
||||
Reference in New Issue
Block a user