Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed0.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.83.MISMATCH!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.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'attribute': 0.07; '__init__': 0.09; 'cc:addr:python-list': 0.11; 'ast': 0.16; 'attributes.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Classes': 0.16; 'wrote:': 0.18; 'previously': 0.22; 'cc:addr:python.org': 0.22; 'creating': 0.23; '31,': 0.24; 'case.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'correct': 0.29; 'message-id:@mail.gmail.com': 0.30; 'fri,': 0.33; 'created': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'method': 0.36; 'pm,': 0.38; 'new': 0.61; 'special': 0.74; '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=o/RJYRjUhVRHPfhoiyIPv7lWDXZk4gVwOnctSVLZP14=; b=NLnI7OENufkhMBOWnZyY6BOhLBBrShtSnsjUdN2txMFfH4Na5agkimcbe+innyPxHI P2wvvMPaVzZn/psXYbtUmL40Rh8tbW9uSlHtCvGAzU06xiXb4RBp70VTKjLVOBsgtvFX Y7xFoDXDyI3J5tG7sTZdPrBH0pYGDld1+jxjFjepoX1AAJD/REJI39c6R+v6vQYLXEqn ko0+sax0NB+XdduLONSwVqkMldn1hdRYPmfb8ShMjBSZLyu+dkz2ZmhCzr7kJzSlj3aY XJ5SlbAiIh1i8DxaXh5BEgTEBFZdbLtYvuaTWg82KpXdZ82XcotdlsMbLrDOnoiVSt7l nf9g== MIME-Version: 1.0 X-Received: by 10.50.164.233 with SMTP id yt9mr2759357igb.2.1414747305090; Fri, 31 Oct 2014 02:21:45 -0700 (PDT) In-Reply-To: <545353dd$0$2326$426a74cc@news.free.fr> References: <51755at03r0bidjqh3qf0hhpvjr8756ill@4ax.com> <545350c3$0$23449$426a74cc@news.free.fr> <545353dd$0$2326$426a74cc@news.free.fr> Date: Fri, 31 Oct 2014 20:21:45 +1100 Subject: Re: Classes 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414747313 news.xs4all.nl 2965 [2001:888:2000:d::a6]:45126 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:80003 On Fri, Oct 31, 2014 at 8:18 PM, ast wrote: > > But this means that a method can create a new > attribute not previously created with __init__. > Is that correct ? That's always the case. There's nothing special about __init__ for creating attributes. ChrisA