no need to call self[k] if you already have v.  Actually, you don't even need k at all, so you can do each_value.