[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/master] Update Bridge.__init__() docstring for ip



commit b5c8cfb94c06eea8571f035df1ba957e72e40bbb
Author: Matthew Finkel <Matthew.Finkel@xxxxxxxxx>
Date:   Sat Feb 8 17:07:51 2014 +0000

    Update Bridge.__init__() docstring for ip
---
 lib/bridgedb/Bridges.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index e8201b5..f44be55 100644
--- a/lib/bridgedb/Bridges.py
+++ b/lib/bridgedb/Bridges.py
@@ -112,7 +112,8 @@ class Bridge:
     """Holds information for a single bridge
 
     :attr str nickname: The bridge's nickname.  Not currently used.
-    :attr str ip: The bridge's IPv4 address, as a dotted quad.
+    :type ip: :class:`ipaddr.IPAddress`
+    :attr ip: The bridge's IPv4 address, specified on 'r'-line in NS
     :attr int orport: The bridge's OR port.
     :attr dict or_addresses: The bridges alternate IP addresses, keys
                              the address, values are the port(s) on



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits