Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.06; 'attribute': 0.07; 'element': 0.07; 'definition,': 0.09; 'explanation': 0.09; 'sentence': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '"an': 0.16; 'entry.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'bit': 0.19; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'question': 0.24; 'cc:2**0': 0.24; 'define': 0.26; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'asks': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'class': 0.32; 'probably': 0.32; "i'd": 0.34; 'subject: (': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'enough': 0.39; 'complete': 0.62; 'close': 0.67; 'covers': 0.68; 'subject:! ': 0.74; '100%': 0.77; '2015': 0.84; 'subject:!)': 0.84; 'this;': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=H0cSljtTGVsCgQOYWSyHpMYCsCpkEAafuaDqASgoFL8=; b=pdfM6EyKSJRA4cEUtGHwbCDojXCuhLljPXmtpRubmbFBpB4ppZTWVJdAkIKLQG4r02 802KYM10nGF7Tc8ERrxt+8uqPOH5ZnJFINJiw+d39o3p+BWgDN1OXqVgsR1srZ+v3Yg+ 8DObt3ehPbVnJiexm7DEBQUqYgxkfdsAI9npNXxiJGXoRCoIKJBlsVXkVk9dAcZns45e 5+ZBbyjPT1N2aBqwUvW+yrp5TY8hh+CVj56RgsFLng6z6exwK5lf8kI1SIZA4bZ3iECy mMVXJXIzdQrJIYNoCgdIPjrUVsXmNs2JYAHO6n6cSggIa5pCNUw1rwjUT6y2S/4ud8K4 CUgQ== MIME-Version: 1.0 X-Received: by 10.107.158.146 with SMTP id h140mr31071335ioe.27.1423001970809; Tue, 03 Feb 2015 14:19:30 -0800 (PST) In-Reply-To: <54d10807$0$13002$c3e8da3$5496439d@news.astraweb.com> References: <54c07d04$0$13012$c3e8da3$5496439d@news.astraweb.com> <54ca583e$0$13005$c3e8da3$5496439d@news.astraweb.com> <54ccc2fc$0$13009$c3e8da3$5496439d@news.astraweb.com> <54cd9a7a$0$12984$c3e8da3$5496439d@news.astraweb.com> <54ce526a$0$13012$c3e8da3$5496439d@news.astraweb.com> <54cf242d$0$12991$c3e8da3$5496439d@news.astraweb.com> <54cf6836$0$12996$c3e8da3$5496439d@news.astraweb.com> <54cf849d$0$13005$c3e8da3$5496439d@news.astraweb.com> <54d10807$0$13002$c3e8da3$5496439d@news.astraweb.com> Date: Wed, 4 Feb 2015 09:19:30 +1100 Subject: Re: dunder-docs (was Python is DOOMED! Again!) From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423001979 news.xs4all.nl 2857 [2001:888:2000:d::a6]:51413 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85180 On Wed, Feb 4, 2015 at 4:40 AM, Steven D'Aprano wrote: > given that the glossary need not be 100% complete and definitive, "function > defined inside a class body" is close enough to the truth. * This * We are arguing, not about an element in a formal grammar, but about a glossary entry. If one of my Python students asks me, "What's a method?", I'm not going to go into a technical explanation like this; I want to answer with a single sentence that covers the bit that matters. (Though I'd probably define it from the other perspective - it's "an object attribute that you can call", perhaps - but if the question came from a class definition, "a function defined inside a class" would be fine.) ChrisA