Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35844
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!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.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'argument': 0.04; 'arguments': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'typeerror:': 0.09; '*expression*': 0.16; 'finney': 0.16; 'marie': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:class': 0.16; 'skip:` 20': 0.17; 'parameters': 0.20; 'error.': 0.21; '"",': 0.22; 'header:User-Agent:1': 0.26; '(most': 0.27; 'header:X-Complaints-To:1': 0.28; 'chris': 0.28; '>>>>': 0.29; 'contrast,': 0.29; 'writes:': 0.29; 'error': 0.30; 'file': 0.32; 'traceback': 0.33; 'to:addr:python-list': 0.33; 'everyone': 0.33; 'ben': 0.35; 'received:org': 0.36; "wasn't": 0.36; 'why': 0.37; 'passed': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'takes': 0.39; 'header:Received:5': 0.40; 'first': 0.61; 'therefore': 0.65; '8bit%:40': 0.65; '8bit%:43': 0.65; 'dangerous': 0.66; 'skip:\xe2 10': 0.66; 'talking': 0.66 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Ben Finney <ben+python@benfinney.id.au> |
| Subject | Re: father class name |
| Date | Mon, 31 Dec 2012 20:23:44 +1100 |
| References | <CA+YdQ_6v3m5JH0PusuYffb9xa=U56sNGKxYmy_w0hU04V8ZvgQ@mail.gmail.com> <CAMZYqRSK13j1QbFyud9hWAHLM2q3-xtp6YKwwPTSwpU+Rop-6g@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | rasputin.madmonks.org |
| X-Public-Key-ID | 0xBD41714B |
| X-Public-Key-Fingerprint | 9CFE 12B0 791A 4267 887F 520C B7AC 2E51 BD41 714B |
| X-Public-Key-URL | http://www.benfinney.id.au/contact/bfinney-gpg.asc |
| X-Post-From | Ben Finney <bignose+hates-spam@benfinney.id.au> |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
| Cancel-Lock | sha1:Z1L7KTsKwMswFY4VLyvLVvf2Ns8= |
| 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 | <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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1494.1356945835.29569.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1356945835 news.xs4all.nl 6854 [2001:888:2000:d::a6]:36938 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:35844 |
Show key headers only | View raw
Chris Rebert <clp2@rebertia.com> writes: > By contrast, in the first part of the *expression* > `haha(object).theprint()`, you passed an argument (namely, `object`). > Since __init__() wasn't expecting any arguments whatsoever, you > therefore got an error. Why is everyone talking about the initialiser, ‘__init__’? When: > >>>> haha(object).theprint() > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > TypeError: object.__new__() takes no parameters The error is talking about the constructor, ‘__new__’. -- \ “It's dangerous to be right when the government is wrong.” | `\ —Francois Marie Arouet Voltaire | _o__) | Ben Finney
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: father class name Ben Finney <ben+python@benfinney.id.au> - 2012-12-31 20:23 +1100 Re: father class name Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-01 03:24 +0000
csiph-web