Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: cl@isbd.net Newsgroups: comp.lang.python Subject: Re: Function passed as an argument returns none Date: Thu, 2 Oct 2014 10:43:48 +0100 Lines: 10 Message-ID: References: <6bf1fc74-e40f-41f0-88b9-e4543c731e69@googlegroups.com> <542d05f7$0$12998$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net I1Dx5vpYVwd+0eEwFwG07gdmN0QSwYCsFZjMUzVIMkN0BOkR8= X-Orig-Path: not-for-mail Cancel-Lock: sha1:59yYzirpAusa7lgwk1q5+6cYRIQ= User-Agent: tin/2.2.0-20131224 ("Lochindaal") (UNIX) (Linux/3.13.0-36-generic (x86_64)) Xref: csiph.com comp.lang.python:78591 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 automically printing something is a mis-feature! -- Chris Green ยท