Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #67571
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.018 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'argument': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.12; 'itself,': 0.16; 'java.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'silly': 0.16; 'threads.': 0.16; 'wrote:': 0.18; 'pointed': 0.19; 'header:User- Agent:1': 0.23; 'question': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'record': 0.27; 'am,': 0.29; "doesn't": 0.30; "i'm": 0.30; 'something': 0.35; 'but': 0.35; 'c++': 0.36; 'curious': 0.36; 'method': 0.36; 'question,': 0.38; 'to:addr:python-list': 0.38; 'track': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'most': 0.60; 'received:173': 0.61; 'first': 0.61; 'kind': 0.63; 'skip:n 10': 0.64; 'anything.': 0.68; 'received:fios.verizon.net': 0.84; 'subject:self': 0.84; 'responses': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Terry Reedy <tjreedy@udel.edu> |
| Subject | Re: Origin of 'self' |
| Date | Mon, 03 Mar 2014 13:35:37 -0500 |
| References | <dc4f4ee0-8380-4141-97bd-99d6e67d5e2d@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | quoted-printable |
| X-Gmane-NNTP-Posting-Host | pool-173-75-254-207.phlapa.fios.verizon.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
| In-Reply-To | <dc4f4ee0-8380-4141-97bd-99d6e67d5e2d@googlegroups.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.7652.1393872007.18130.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1393872007 news.xs4all.nl 2899 [2001:888:2000:d::a6]:39959 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:67571 |
Show key headers only | View raw
On 3/3/2014 1:16 AM, Westley Martínez wrote: > I understand that in an object method the first argument in the > object itself, called self. However, it doesn't have to be called > self, and can be called anything. So my question is why is it called > self and not this like from C++ and Java. It's kind of a silly > question, but one that I'm curious about nevertheless. Three responses and I learned or had something pointed out in each. That is a better track record than most threads. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Origin of 'self' Westley Martínez <anikom15@gmail.com> - 2014-03-02 22:16 -0800
Re:Origin of 'self' Dave Angel <davea@davea.name> - 2014-03-03 01:49 -0500
Re: Origin of 'self' Steven D'Aprano <steve@pearwood.info> - 2014-03-03 06:52 +0000
Re: Origin of 'self' Westley Martínez <anikom15@gmail.com> - 2014-03-05 17:56 -0800
Re: Origin of 'self' Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-03-06 17:43 +0000
Re: Origin of 'self' Marko Rauhamaa <marko@pacujo.net> - 2014-03-06 19:46 +0200
Re: Origin of 'self' Ian Kelly <ian.g.kelly@gmail.com> - 2014-03-03 00:03 -0700
Re: Origin of 'self' Terry Reedy <tjreedy@udel.edu> - 2014-03-03 13:35 -0500
Re: Origin of 'self' Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-03-03 21:09 -0500
Re: Origin of 'self' Roy Smith <roy@panix.com> - 2014-03-03 21:14 -0500
Re: Origin of 'self' Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-03-04 19:27 -0500
Re: Origin of 'self' Chris Angelico <rosuav@gmail.com> - 2014-03-04 13:13 +1100
Re: Origin of 'self' MRAB <python@mrabarnett.plus.com> - 2014-03-04 12:47 +0000
Re: Origin of 'self' Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-03-04 14:27 +0000
Re: Origin of 'self' MRAB <python@mrabarnett.plus.com> - 2014-03-04 17:10 +0000
Re: Origin of 'self' Rustom Mody <rustompmody@gmail.com> - 2014-03-04 19:45 -0800
Re: Origin of 'self' MRAB <python@mrabarnett.plus.com> - 2014-03-05 03:58 +0000
Re: Origin of 'self' Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-03-04 19:25 -0500
csiph-web