Fix some minor documentation typos.
authorCameron Dale <camrdale@gmail.com>
Thu, 10 Apr 2008 00:32:35 +0000 (17:32 -0700)
committerCameron Dale <camrdale@gmail.com>
Thu, 10 Apr 2008 00:32:35 +0000 (17:32 -0700)
apt_p2p/PeerManager.py
apt_p2p/apt_p2p.py
apt_p2p_Khashmir/db.py

index 0f64e8f3161f2e99e3cee9f16ec9f37fd2803f92..d041504c92c1fee7f388fe989d11471e8649b064 100644 (file)
@@ -15,7 +15,7 @@ from twisted.web2.http import Response, splitHostPort
 
 from HTTPDownloader import Peer
 from util import uncompact
-from hash import PIECE_SIZE
+from Hash import PIECE_SIZE
 from apt_p2p_Khashmir.bencode import bdecode
 
 class GrowingFileStream(stream.FileStream):
index 0063e9fffd2ebb08373be003c346c4d90c950d63..7a5f9fa604af37439abb6dedc4a0ea481d9240bd 100644 (file)
@@ -65,8 +65,8 @@ class AptP2P:
     def __init__(self, dhtClass):
         """Initialize all the sub-components.
         
-        @type dht: L{interfaces.IDHT}
-        @param dht: the DHT class to use
+        @type dhtClass: L{interfaces.IDHT}
+        @param dhtClass: the DHT class to use
         """
         log.msg('Initializing the main apt_p2p application')
         self.dhtClass = dhtClass
index bd777b60e78f65126859645a29152b49aeab80bd..8709970aee2890bb1de874947702b59370f2f3d5 100644 (file)
@@ -150,7 +150,7 @@ class DB:
         
     def keyStats(self):
         """Count the total number of keys and values in the database.
-        @rtype: (C{int), C{int})
+        @rtype: (C{int}, C{int})
         @return: the number of distinct keys and total values in the database
         """
         c = self.conn.cursor()