commit 7249c7c0fcf885bcf9e45afc169881bc86f68194 Author: Isis Lovecruft isis@torproject.org Date: Sun Jan 12 01:12:07 2014 +0000
Add docstring for bridgedb.Bridges.BridgeRing.clear(). --- lib/bridgedb/Bridges.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py index f8f7906..e293e40 100644 --- a/lib/bridgedb/Bridges.py +++ b/lib/bridgedb/Bridges.py @@ -744,6 +744,7 @@ class BridgeRing(BridgeHolder): return len(self.bridges)
def clear(self): + """Remove all bridges and mappings from this hashring and subrings.""" self.bridges = {} self.bridgesByID = {} self.isSorted = False