]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - apt_dht/interfaces.py
A few more documentation fixes.
[quix0rs-apt-p2p.git] / apt_dht / interfaces.py
index 446cd02f99cc6bb05977d26735537759f81531a3..2c022c5a7d65e6f4b5bf2872bdc23b575c1de76a 100644 (file)
@@ -1,8 +1,5 @@
 
-"""
-Some interfaces that are used by the apt-dht classes.
-
-"""
+"""Some interfaces that are used by the apt-dht classes."""
 
 from zope.interface import Interface
 
@@ -32,10 +29,15 @@ class IDHT(Interface):
         
     def getValue(self, key):
         """Get a value from the DHT for the specified key.
+        
+        The length of the key may be adjusted for use with the DHT.
 
         @rtype: C{Deferred}
         @return: a deferred that will fire with the stored values
         """
         
     def storeValue(self, key, value):
-        """Store a value in the DHT for the specified key."""
+        """Store a value in the DHT for the specified key.
+
+        The length of the key may be adjusted for use with the DHT.
+        """