فهرست منبع

Clarify docstring.

Jelmer Vernooij 15 سال پیش
والد
کامیت
e597bc283f
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      dulwich/index.py

+ 3 - 0
dulwich/index.py

@@ -135,7 +135,10 @@ def write_index_dict(f, entries):
 
 def cleanup_mode(mode):
     """Cleanup a mode value.
+
+    This will return a mode that can be stored in a tree object.
     
+    :param mode: Mode to clean up.
     """
     if stat.S_ISLNK(mode):
         return stat.S_IFLNK