commit 5703944d575abd23ab389260de0b5954569a3dbf Author: Isis Lovecruft isis@torproject.org Date: Fri Dec 20 06:59:02 2013 +0000
Add Sphinx param docs for bridgedb.Bridges.is_valid_ip(). --- lib/bridgedb/Bridges.py | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py index 44cb787..01de8b7 100644 --- a/lib/bridgedb/Bridges.py +++ b/lib/bridgedb/Bridges.py @@ -48,6 +48,8 @@ def is_valid_ip(ip): False >>> Bridges.is_valid_ip('xyzzy') False + + :param str ip: A string representing an IPv4 or IPv6 address. """
# ipaddr does not treat "1.2" as a synonym for "0.0.1.2"
tor-commits@lists.torproject.org