浏览代码

Fix type.

Jelmer Vernooij 4 年之前
父节点
当前提交
ff212efd42
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dulwich/index.py

+ 1 - 1
dulwich/index.py

@@ -253,7 +253,7 @@ def read_index_dict(f):
     return ret
 
 
-def write_index(f: BinaryIO, entries: Iterable[Tuple[bytes, IndexEntry]], version: Optional[int] = None):
+def write_index(f: BinaryIO, entries: List[Tuple[bytes, IndexEntry]], version: Optional[int] = None):
     """Write an index file.
 
     Args: