3 ms·
Sorry, you're actually very right. I think I misread this in the case of a default argument example (which at least for codebases I work with are diligent about
by rtpg 8y ago
Sorry, you're actually very right. I think I misread this in the case of a default argument example (which at least for codebases I work with are diligent about doing None tests for ) but if you know that the value is set to a sequence then the boolean test is common