diff options
author | Yobmod <yobmod@gmail.com> | 2021-07-09 10:37:31 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-07-09 10:37:31 +0100 |
commit | 5eea8910b2e07d424a2e33299149d13392a80a54 (patch) | |
tree | 52055da50f54a51587759f0433db579e8063d37b /git/objects/tree.py | |
parent | 3710e24d6b60213454af10b0dc0ff0c49717169f (diff) | |
download | gitpython-5eea8910b2e07d424a2e33299149d13392a80a54.tar.gz |
Fix list_traverse() docstring for Autodoc
Diffstat (limited to 'git/objects/tree.py')
-rw-r--r-- | git/objects/tree.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/git/objects/tree.py b/git/objects/tree.py index e168c6c4..9d221652 100644 --- a/git/objects/tree.py +++ b/git/objects/tree.py @@ -324,6 +324,11 @@ class Tree(IndexObject, diff.Diffable, util.Traversable, util.Serializable): branch_first, visit_once, ignore_self)) def list_traverse(self, *args: Any, **kwargs: Any) -> IterableList[IndexObjUnion]: + """ + :return: IterableList with the results of the traversal as produced by + traverse() + Tree -> IterableList[Union['Submodule', 'Tree', 'Blob']] + """ return super(Tree, self).list_traverse(* args, **kwargs) # List protocol |