3 ms·
I believe _() would be even better, granted you might want to translate messages in future. At first might just def _(s): return s.
by demosito666 8y ago
I believe _() would be even better, granted you might want to translate messages in future. At first might just def _(s): return s.
- ComputerGuru 8y agoA single underscore is pretty much de facto reserved for localization.
- jedberg 8y agoWhich is exactly what this is. Putting everything a human reads into a function is step one of localization.