I have what I think is a false warning for the following (simplified) code:
import random def by_value(tup: Tuple[int, int]): _, val = tup