浏览代码

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.
     """