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

[tor-commits] [bridgedb/master] Update docstring for I18n._().



commit 09a49cd22939986a4b038c7e48f75c7a44853312
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Wed Apr 16 19:44:47 2014 +0000

    Update docstring for I18n._().
---
 lib/bridgedb/I18n.py |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/bridgedb/I18n.py b/lib/bridgedb/I18n.py
index 112b8ae..c6fbf3f 100644
--- a/lib/bridgedb/I18n.py
+++ b/lib/bridgedb/I18n.py
@@ -12,8 +12,10 @@ def getLang(lang, localedir=os.path.expanduser("~") + "/share/locale"):
 
 def _(text):
     """This is necessary because strings are translated when they're imported.
-       Otherwise this would make it impossible to switch languages more than 
-       once
+    Otherwise this would make it impossible to switch languages more than
+    once.
+
+    :returns: The **text**.
     """
     return text
 



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