python collections abc mapping example