From: Cameron Dale Date: Wed, 5 Mar 2008 00:04:12 +0000 (-0800) Subject: Document the DHT's util module. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9b160ef76d1ec91d972cc047c5b2b34eaf52a16d;p=quix0rs-apt-p2p.git Document the DHT's util module. --- diff --git a/apt_dht_Khashmir/util.py b/apt_dht_Khashmir/util.py index fa1c2ee..2b10919 100644 --- a/apt_dht_Khashmir/util.py +++ b/apt_dht_Khashmir/util.py @@ -1,10 +1,12 @@ ## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved # see LICENSE.txt for license information +"""Some utitlity functions for use in apt-dht's khashmir DHT.""" + from twisted.trial import unittest def bucket_stats(l): - """given a list of khashmir instances, finds min, max, and average number of nodes in tables""" + """Given a list of khashmir instances, finds min, max, and average number of nodes in tables.""" max = avg = 0 min = None def count(buckets):