Function passed as an argument returns none

Rustom Mody rustompmody at gmail.com
Thu Oct 2 13:30:34 CEST 2014


On Thursday, October 2, 2014 3:18:22 PM UTC+5:30, wrote:
> Steven D'Aprano  wrote:
> > between printing output to the screen and returning values from a function,
> > and under what circumstances Python will automatically print said returned
> > values as a convenience. Conflating the two as "2 kinds of return" is an

> To me automatically printing something is a mis-feature!

Hehe! Nice one!



More information about the Python-list mailing list