summaryrefslogtreecommitdiff
blob: ab6d17b5d1baf1e3c717028165cf67fa74f639b1 (plain)
1
2
3
``random.Random.choice()`` now raises ``IndexError`` for empty sequences
consistently even when called from subclasses without a ``getrandbits()``
implementation.