4 ms·
When I used to write python "x = 1," bit me way more than it should have. And I don't see why you wouldn't want to be explicit about your tuple construction eve
by thatswrong0 10y ago
When I used to write python "x = 1," bit me way more than it should have. And I don't see why you wouldn't want to be explicit about your tuple construction every time..
- thansharp 10y agoI usually use x = tuple((1,) ) so that non-Python programmers on the team know what they're dealing with.