Re:Black: An uncompromising Python code formatter
by spc476 on Saturday May 26, 2018 @03:34AM
(#17160691)
I use single quotes when the string in question is used like an enumeration:
And double quotes for strings meant to be read by a human:
And an example with both forms:
For me, it's an indication of how I expect the string to be used.
[ Parent
| on HN ]
There are no comments on this comment yet.