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


Groups > comp.lang.python > #21140

Re: Is this the proper way to use a class method?

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 <johnjsal@gmail.com>
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 <mailman.345.1330675701.3037.python-list@python.org>
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> <mailman.339.1330669514.3037.python-list@python.org> <21646224.4.1330672614560.JavaMail.geo-discussion-forums@ynt13> <mailman.345.1330675701.3037.python-list@python.org>
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 <johnjsal@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc Python <python-list@python.org>, John Salerno <johnjsal@gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.347.1330714310.3037.python-list@python.org> (permalink)
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

Show key headers only | View raw


> 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 :)

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


Thread

Is this the proper way to use a class method? John Salerno <johnjsal@gmail.com> - 2012-03-01 22:00 -0800
  Re: Is this the proper way to use a class method? Chris Rebert <clp2@rebertia.com> - 2012-03-01 22:25 -0800
    Re: Is this the proper way to use a class method? John Salerno <johnjsal@gmail.com> - 2012-03-01 23:16 -0800
      Re: Is this the proper way to use a class method? Ian Kelly <ian.g.kelly@gmail.com> - 2012-03-02 01:04 -0700
      Re: Is this the proper way to use a class method? Chris Rebert <clp2@rebertia.com> - 2012-03-02 00:08 -0800
        Re: Is this the proper way to use a class method? John Salerno <johnjsal@gmail.com> - 2012-03-02 10:51 -0800
        Re: Is this the proper way to use a class method? John Salerno <johnjsal@gmail.com> - 2012-03-02 10:51 -0800
    Re: Is this the proper way to use a class method? John Salerno <johnjsal@gmail.com> - 2012-03-01 23:16 -0800

csiph-web