askerka / polymorphism

Ad hoc polymorphism for Python classes!
MIT License
1 stars 0 forks source link

pep-3124 compatible? #1

Open Tagar opened 4 years ago

Tagar commented 4 years ago

Great idea

Is this compatible with syntax suggested in https://www.python.org/dev/peps/pep-3124/ ?

Thanks!

askerka commented 4 years ago

Hi @Tagar I didn't know about this PEP before, thanks for bringing it :) So, shortly it supports only overload decorator syntax with multiple params.

Even in standard library has singledispatchmethod, so the only difference it is supporting multiple params.