[Python-Dev] PEP 362 Third Revision

Ethan Furman ethan at stoneleaf.us
Thu Jun 14 18:03:40 CEST 2012


Yury Selivanov wrote:
> Hello,
> 
> The new revision of PEP 362 has been posted:
> http://www.python.org/dev/peps/pep-0362/
> 
> 
> It's possible to test Signatures for equality.  Two signatures
> are equal when they have equal parameters and return annotations.

Possibly a dumb question, but do the parameter names have to be the same 
to compare equal?  If yes, is there an easy way to compare two 
signatures by annotations alone?

~Ethan~


More information about the Python-Dev mailing list