That would prevent the likes of list[int, float], and wouldn’t prevent list[0].
list[int, float]
list[0]