[tor-commits] [stem/master] NetworkStatusDocumentV3's params misdocumented as being a list
atagar at torproject.org
atagar at torproject.org
Thu Jan 24 17:26:32 UTC 2013
commit 0b1d47d92d447614095cf43fdb35214650db8d82
Author: Damian Johnson <atagar at torproject.org>
Date: Thu Jan 24 09:20:47 2013 -0800
NetworkStatusDocumentV3's params misdocumented as being a list
The params is a dict, not a list. Caught by amj703 on...
https://trac.torproject.org/8036
---
stem/descriptor/networkstatus.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/stem/descriptor/networkstatus.py b/stem/descriptor/networkstatus.py
index 9a12229..a7993c9 100644
--- a/stem/descriptor/networkstatus.py
+++ b/stem/descriptor/networkstatus.py
@@ -439,7 +439,7 @@ class NetworkStatusDocumentV3(NetworkStatusDocument):
:var list client_versions: list of recommended client tor versions
:var list server_versions: list of recommended server tor versions
:var list known_flags: **\*** list of :data:`~stem.Flag` for the router's flags
- :var list params: **\*** dict of parameter(**str**) => value(**int**) mappings
+ :var dict params: **\*** dict of parameter(**str**) => value(**int**) mappings
:var list directory_authorities: **\*** list of :class:`~stem.descriptor.networkstatus.DirectoryAuthority`
objects that have generated this document
:var list signatures: **\*** :class:`~stem.descriptor.networkstatus.DocumentSignature`
More information about the tor-commits
mailing list