From 9b160ef76d1ec91d972cc047c5b2b34eaf52a16d Mon Sep 17 00:00:00 2001 From: Cameron Dale Date: Tue, 4 Mar 2008 16:04:12 -0800 Subject: [PATCH] Document the DHT's util module. --- apt_dht_Khashmir/util.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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): -- 2.39.2