Suggestion: make sequence and map interfaces more similar

Manolo Martínez manolo at austrohungaro.com
Wed Mar 30 06:26:45 EDT 2016


On 03/30/16 at 09:17pm, Steven D'Aprano wrote:
> 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?
> 

I think it's with your definition of surjection. Bijections are
surjective, no?

Manolo



More information about the Python-list mailing list