Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5eea891

Browse files
committed
Fix list_traverse() docstring for Autodoc
1 parent3710e24 commit5eea891

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎git/objects/tree.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,11 @@ def traverse(self, # type: ignore # overrides super()
324324
branch_first,visit_once,ignore_self))
325325

326326
deflist_traverse(self,*args:Any,**kwargs:Any)->IterableList[IndexObjUnion]:
327+
"""
328+
:return: IterableList with the results of the traversal as produced by
329+
traverse()
330+
Tree -> IterableList[Union['Submodule', 'Tree', 'Blob']]
331+
"""
327332
returnsuper(Tree,self).list_traverse(*args,**kwargs)
328333

329334
# List protocol

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp