Why is return type in getfullspec().annotations named as "return"?

andrew cooke andrew at acooke.org
Sun Apr 3 02:15:52 CEST 2011

This conflicts with any parameter named "return".  Wouldn't it have been better to use "->" as the key?  Is there any way this can be changed?


More information about the Python-list mailing list