Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.109 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.80; '*S*': 0.02; 'bind': 0.09; 'oh,': 0.09; 'subject:method': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr :python-list': 0.16; 'header:In-Reply-To:1': 0.22; 'subject:use': 0.24; 'cc:addr:gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'subject:?': 0.31; 'thanks': 0.32; 'does': 0.32; 'header:User- Agent:1': 0.33; 'object': 0.33; 'cc:2**1': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'uses': 0.38; 'returned': 0.39; 'received:209': 0.39; 'subject:this': 0.74; 'grabs': 0.84; 'received:209.85.213.184': 0.84; 'received :mail-yx0-f184.google.com': 0.84; 'magical': 0.93 Received-SPF: pass (google.com: domain of johnjsal@gmail.com designates 10.236.190.37 as permitted sender) client-ip=10.236.190.37; Authentication-Results: mr.google.com; spf=pass (google.com: domain of johnjsal@gmail.com designates 10.236.190.37 as permitted sender) smtp.mail=johnjsal@gmail.com Newsgroups: comp.lang.python Date: Fri, 2 Mar 2012 10:51:41 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.30.237.113; posting-account=Wdz3OgoAAACumWTKfPjpOEJc3twpMp_1 References: <4136337.363.1330668021961.JavaMail.geo-discussion-forums@ynjd19> <21646224.4.1330672614560.JavaMail.geo-discussion-forums@ynt13> User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Subject: Re: Is this the proper way to use a class method? From: John Salerno To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: Python , John Salerno X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 5 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1330714310 news.xs4all.nl 6869 [2001:888:2000:d::a6]:42815 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21140 > Oh, but it does get passed, just implicitly. `super()` basically grabs > `self` magically from its caller, and uses it to bind method calls on > the magical object returned by `super()`. Thanks again, now I understand :)