[tor-commits] [stem/master] Fixing ExitPolicyRule's get_address_type() pydocs
atagar at torproject.org
atagar at torproject.org
Wed Jan 23 17:28:52 UTC 2013
commit ab992cd1716b4bc9f61660b746281c61dd878ab5
Author: Damian Johnson <atagar at torproject.org>
Date: Wed Jan 23 09:21:53 2013 -0800
Fixing ExitPolicyRule's get_address_type() pydocs
We had an ending colon rather than a backtick for the AddressType references.
/home/atagar/Desktop/stem/stem/exit_policy.py:
docstring of stem.exit_policy.ExitPolicyRule.get_address_type:1:
WARNING: Inline interpreted text or phrase reference start-string without end-string.
/home/atagar/Desktop/stem/stem/exit_policy.py:
docstring of stem.exit_policy.ExitPolicyRule.get_address_type:3:
WARNING: Inline interpreted text or phrase reference start-string without end-string.
---
stem/exit_policy.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/stem/exit_policy.py b/stem/exit_policy.py
index 36c5c98..0ad2c54 100644
--- a/stem/exit_policy.py
+++ b/stem/exit_policy.py
@@ -580,9 +580,9 @@ class ExitPolicyRule(object):
def get_address_type(self):
"""
- Provides the :data:`~stem.exit_policy.AddressType: for our policy.
+ Provides the :data:`~stem.exit_policy.AddressType` for our policy.
- :returns: :data:`~stem.exit_policy.AddressType: for the type of address that we have
+ :returns: :data:`~stem.exit_policy.AddressType` for the type of address that we have
"""
return _int_to_address_type(self._address_type)
More information about the tor-commits
mailing list