py: Check that sequence has 2 elements for dict iterable constructor.