Open steffann opened 6 years ago
what does the value
-tuple actually contain? Wouldn't it be safer to check for if len(value) > 2
?
I don't know what it's supposed to contain. I assumed you would know :) It's not a code path I am actually using. I just noticed the discrepancy.
When checking len(value) >= 2 only value[1] is guaranteed to exist