Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78591

Re: Function passed as an argument returns none

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 <kbjvfb-2cn.ln1@chris.zbmc.eu> (permalink)
References <mailman.14532.1412203048.18130.python-list@python.org> <6bf1fc74-e40f-41f0-88b9-e4543c731e69@googlegroups.com> <mailman.14538.1412222580.18130.python-list@python.org> <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

Show key headers only | View raw


Steven D'Aprano <steve+comp.lang.python@pearwood.info> 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
ยท

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Function passed as an argument returns none Shiva <shivaji_tn@yahoo.com> - 2014-10-01 22:37 +0000
  Re: Function passed as an argument returns none Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-02 00:23 +0000
  Re: Function passed as an argument returns none Rustom Mody <rustompmody@gmail.com> - 2014-10-01 19:29 -0700
    Re: Function passed as an argument returns none Chris Angelico <rosuav@gmail.com> - 2014-10-02 14:02 +1000
      Re: Function passed as an argument returns none Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-02 17:59 +1000
        Re: Function passed as an argument returns none cl@isbd.net - 2014-10-02 10:43 +0100
          Re: Function passed as an argument returns none Rustom Mody <rustompmody@gmail.com> - 2014-10-02 04:30 -0700
        Re: Function passed as an argument returns none Rustom Mody <rustompmody@gmail.com> - 2014-10-02 04:38 -0700
          Re: Function passed as an argument returns none Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-03 10:10 +1000
            Re: Function passed as an argument returns none Rustom Mody <rustompmody@gmail.com> - 2014-10-02 18:49 -0700
              Re: Function passed as an argument returns none Chris Angelico <rosuav@gmail.com> - 2014-10-03 12:08 +1000

csiph-web