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

andrew cooke andrew at acooke.org
Sat Apr 2 20:15:52 EDT 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