[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Add a docstring to bridgedb.Bridges.FixedBridgeSplitter.clear().
commit b4fc2b92afc2498441ff82c2d6be3bd20285d01e
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Fri Nov 15 13:25:39 2013 +0000
Add a docstring to bridgedb.Bridges.FixedBridgeSplitter.clear().
---
lib/bridgedb/Bridges.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index a49da9f..a0d853e 100644
--- a/lib/bridgedb/Bridges.py
+++ b/lib/bridgedb/Bridges.py
@@ -856,6 +856,7 @@ class FixedBridgeSplitter(BridgeHolder):
self.rings[which].insert(bridge)
def clear(self):
+ """Clear all bridges from every ring in ``rings``."""
for r in self.rings:
r.clear()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits