Explorar el Código

Clarify argument to ObjectStore.add_objects().

Jelmer Vernooij hace 8 años
padre
commit
9371c86d47
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      dulwich/object_store.py

+ 2 - 2
dulwich/object_store.py

@@ -131,7 +131,7 @@ class BaseObjectStore(object):
     def add_objects(self, objects):
         """Add a set of objects to this object store.
 
-        :param objects: Iterable over a list of objects.
+        :param objects: Iterable over a list of (path, object) tuples
         """
         raise NotImplementedError(self.add_objects)
 
@@ -740,7 +740,7 @@ class MemoryObjectStore(BaseObjectStore):
     def add_objects(self, objects):
         """Add a set of objects to this object store.
 
-        :param objects: Iterable over a list of objects.
+        :param objects: Iterable over a list of (path, object) tuples
         """
         for obj, path in objects:
             self.add_object(obj)