Python is DOOMED! Again!

Chris Angelico rosuav at gmail.com
Tue Jan 27 08:59:42 CET 2015


On Tue, Jan 27, 2015 at 5:36 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> I consider return type to be part of the function signature. The signature
> of a function is the parameters it accepts and the result it returns.

It is, but there are times when it isn't significant. For instance,
C++ overloaded functions are distinguished by their function
signatures, but *not* including the return values (nor several other
aspects).

ChrisA



More information about the Python-list mailing list