소스 검색

Add missing docstring.

Jelmer Vernooij 11 년 전
부모
커밋
ea7037dc14
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      dulwich/walk.py

+ 1 - 0
dulwich/walk.py

@@ -346,6 +346,7 @@ def _topo_reorder(entries, get_parents=lambda commit: commit.parents):
     order, e.g. in commit time order.
 
     :param entries: An iterable of WalkEntry objects.
+    :param get_parents: Optional function for getting the parents of a commit.
     :return: iterator over WalkEntry objects from entries in FIFO order, except
         where a parent would be yielded before any of its children.
     """