3 ms·
I format tuples for debugging on a regular basis, but tend to just wrap every arg to the format string in repr, so this never comes up.
by jrockway 15y ago
I format tuples for debugging on a regular basis, but tend to just wrap every arg to the format string in repr, so this never comes up.
- TheNewAndy 15y agoThis won't solve the immediate problem, but if you use "%r" instead of "%s", python will do the repr() for you.