Unverified Commit 7249c7c0 authored by Isis Lovecruft's avatar Isis Lovecruft
Browse files

Add docstring for bridgedb.Bridges.BridgeRing.clear().

parent b85b8fa9
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment