소스 검색

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: