Suggestion: make sequence and map interfaces more similar

Jussi Piitulainen jussi.piitulainen at helsinki.fi
Wed Mar 30 06:57:51 EDT 2016


Antoon Pardon writes:

> Op 30-03-16 om 12:28 schreef Jussi Piitulainen:
>> Steven D'Aprano writes:
>>
>>> On Wed, 30 Mar 2016 06:12 pm, Jussi Piitulainen wrote:
>>>
>>>> Steven D'Aprano writes:
>>>>
>>>>> Given a surjection (many-to-one mapping)
>>>> No. And I doubt that Wikipedia says that.
>>> No to what? What are you disagreeing with?
>> Surjection does not mean many-to-one mapping. It means something else.
>
> I think this is my fault. I used "surjective function" wrongly in
> my first response.

Thanks. I missed that. Now I at least see why Steven may have brought
the concept up at all - it doesn't seem relevant, either.



More information about the Python-list mailing list