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

isis at torproject.org isis at torproject.org
Fri Feb 21 21:56:56 UTC 2014


commit b5c8cfb94c06eea8571f035df1ba957e72e40bbb
Author: Matthew Finkel <Matthew.Finkel at gmail.com>
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





More information about the tor-commits mailing list