[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Add Sphinx param docs for bridgedb.Bridges.is_valid_ip().
commit 5703944d575abd23ab389260de0b5954569a3dbf
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits