From: Cameron Dale Date: Thu, 10 Apr 2008 00:32:35 +0000 (-0700) Subject: Fix some minor documentation typos. X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=commitdiff_plain;h=8cdfe5604a56ee5220d7c8c8818dd938e4ce9242;hp=695f86cd055c50859f1a9919e96756fb3aa4c429 Fix some minor documentation typos. --- diff --git a/apt_p2p/PeerManager.py b/apt_p2p/PeerManager.py index 0f64e8f..d041504 100644 --- a/apt_p2p/PeerManager.py +++ b/apt_p2p/PeerManager.py @@ -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): diff --git a/apt_p2p/apt_p2p.py b/apt_p2p/apt_p2p.py index 0063e9f..7a5f9fa 100644 --- a/apt_p2p/apt_p2p.py +++ b/apt_p2p/apt_p2p.py @@ -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 diff --git a/apt_p2p_Khashmir/db.py b/apt_p2p_Khashmir/db.py index bd777b6..8709970 100644 --- a/apt_p2p_Khashmir/db.py +++ b/apt_p2p_Khashmir/db.py @@ -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()