News for hackers. Stuff that matters.
Re:Black: An uncompromising Python code formatter by demosito666 on Friday May 25, 2018 @04:07PM (#17157425)
I believe _() would be even better, granted you might want to translate messages in future. At first might just def _(s): return s.
Re:Black: An uncompromising Python code formatter by ComputerGuru on Friday May 25, 2018 @04:37PM (#17157727)
A single underscore is pretty much de facto reserved for localization.
Re:Black: An uncompromising Python code formatter by jedberg on Friday May 25, 2018 @08:17PM (#17159260)
Which is exactly what this is. Putting everything a human reads into a function is step one of localization.