[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/develop] Update bridgedb.parse.padBase64() docstring.
commit 06c2a831dcad901e7dbc94374fcedd4caad9cf99
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Tue Apr 22 23:14:26 2014 +0000
Update bridgedb.parse.padBase64() docstring.
---
lib/bridgedb/parse/__init__.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/bridgedb/parse/__init__.py b/lib/bridgedb/parse/__init__.py
index e8b8069..ae9b559 100644
--- a/lib/bridgedb/parse/__init__.py
+++ b/lib/bridgedb/parse/__init__.py
@@ -30,10 +30,10 @@ def padBase64(b64string):
"""Re-add any stripped equals sign character padding to a b64 string.
:param string b64string: A base64-encoded string which might have had its
- trailing equals sign padding removed.
- :raises: :exc:`ValueError` if there was any error while manipulating the
+ trailing equals sign (``=``) padding removed.
+ :raises ValueError: if there was any error while manipulating the string.
+ :returns: A properly-padded (according to the base64 spec: :rfc:`4648`)
string.
- :returns: A properly-padded (according to base64) string.
"""
addchars = 0
try:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits