summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2018-04-05-11-09-45.bpo-33203.Hje9Py.rst
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.