3 ms·
you never use gettext in REPL :) and it's common to use '_' as gettext. Less typing, more readable strings. If you don't believe me, you should believe Alex Mar
by Walkman 13y ago
you never use gettext in REPL :) and it's common to use '_' as gettext. Less typing, more readable strings.
If you don't believe me, you should believe Alex Martelli [1], a random Python developer [2] or just read Official Python documentation [3] which recommends assignign gettext.gettext to '_'...
[1]: http://stackoverflow.com/a/2745537/720077 http://stackoverflow.com/a/2745537/720077
http://stackoverflow.com/a/1739541/720077 http://stackoverflow.com/a/1739541/720077
[2]: http://stackoverflow.com/a/5893946/720077 http://stackoverflow.com/a/5893946/720077
[3]: http://docs.python.org/2/library/gettext.html http://docs.python.org/2/library/gettext.html