Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Dennis Lee Bieber Newsgroups: comp.lang.python Subject: Re: learning python. learning defining functions . need help Date: Sat, 23 Jul 2016 11:39:48 -0400 Organization: IISS Elusive Unicorn Lines: 20 Message-ID: References: <432aeb03-ea14-4ece-8e5b-a7521cf12b84@googlegroups.com> <0r37pbpdbr486ofl4n13ajkts7so8h3t52@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de CNKzz9G0k/pqjSr7rOALawVuz7EBRJvjtpyuM6KzLfNA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:help': 0.07; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '2016': 0.16; '>on': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'subject:python.': 0.16; 'comparing': 0.18; 'subject:need': 0.18; 'url:home': 0.18; 'posted': 0.21; 'example': 0.26; 'header:X -Complaints-To:1': 0.26; 'chris': 0.26; 'fri,': 0.27; 'sets.': 0.29; 'subject:learning': 0.29; 'code': 0.30; 'checks': 0.30; 'certain': 0.31; 'getting': 0.33; "i'll": 0.33; 'running': 0.34; 'needed': 0.36; '(and': 0.36; "wasn't": 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'charset :us-ascii': 0.37; 'late': 0.38; 'why': 0.39; 'to:addr:python.org': 0.40; 'still': 0.40; 'subject:. ': 0.67; 'jul': 0.72; '+1000,': 0.84; 'dict()': 0.84; 'seldom': 0.84; 'subject: . ': 0.84; 'dennis': 0.91; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: adsl-108-68-179-16.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <0r37pbpdbr486ofl4n13ajkts7so8h3t52@4ax.com> X-Mailman-Original-References: <432aeb03-ea14-4ece-8e5b-a7521cf12b84@googlegroups.com> Xref: csiph.com comp.lang.python:111793 On Fri, 22 Jul 2016 20:04:56 -0400, Dennis Lee Bieber declaimed the following: >On Fri, 22 Jul 2016 23:24:27 +1000, Chris Angelico >declaimed the following: > >> >>... why do you call up "type(dict())"? Why not either just "dict" or "type({})"? >> > I seldom bother with type checks in my normal quick&dirty programs... >And wasn't certain is {} would also include sets. And I'll accept that comparing against dict() was is in error... Just an example of how little I use those (and I was running late getting to work -- I posted the code about 0918, needed to be at work by 1000, and still had to take a shower/shave/etc.) -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/