浏览代码

Update docstring for Index.__getitem__.

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

+ 4 - 1
dulwich/index.py

@@ -198,7 +198,10 @@ class Index(object):
         return len(self._byname)
 
     def __getitem__(self, name):
-        """Retrieve entry by relative path."""
+        """Retrieve entry by relative path.
+        
+        :return: tuple with (ctime, mtime, dev, ino, mode, uid, gid, size, sha, flags)
+        """
         return self._byname[name]
 
     def __iter__(self):