Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.nosignal.org!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.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'am,': 0.12; 'received:209.85.210.174': 0.13; 'received:mail- iy0-f174.google.com': 0.13; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'ha!': 0.16; 'subject:Adding': 0.16; 'subject:classes': 0.16; 'subject:interface': 0.16; 'mon,': 0.16; 'wrote:': 0.18; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; 'works.': 0.23; 'message-id:@mail.gmail.com': 0.28; 'class': 0.29; 'to:addr:python-list': 0.34; 'received:google.com': 0.37; 'steven': 0.38; 'some': 0.38; 'received:209.85': 0.38; 'skip:\xa0 10': 0.39; 'received:209': 0.40; 'to:addr:python.org': 0.40; '2011': 0.61; '26,': 0.67; '12:46': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=zOxA5lEIB+Di9vC/0KeZfOWzQvT8rHflBaGlJFSvoms=; b=ONpRPfjCPpPWGMp2Swq+CqVk4BLcUwyvjJWUoeNNAnuzTuZ+eQnKDwdLKqkAqK/jxd NUb4HDPiwpwt8EtAFOKC5GYREhzaA9aVaPb6dY8u0GINPHQ3H47FqzJn8+I4Ibmv6l2J 74GpuRJqTnWFj9/3eHKXhe4XtFXdRg957IjBc= MIME-Version: 1.0 In-Reply-To: <4ef72927$0$29973$c3e8da3$5496439d@news.astraweb.com> References: <8f345777-1ef7-46dc-b3fb-a0bea5ebf2c3@r16g2000prr.googlegroups.com> <22ea371a-f282-4d81-89f6-bc3229e2e8b1@a17g2000yqj.googlegroups.com> <4ef712c0$0$29973$c3e8da3$5496439d@news.astraweb.com> <4ef724d4$0$29973$c3e8da3$5496439d@news.astraweb.com> <4ef72927$0$29973$c3e8da3$5496439d@news.astraweb.com> Date: Mon, 26 Dec 2011 00:55:22 +1100 Subject: Re: Adding an interface to existing classes From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: , Newsgroups: comp.lang.python Message-ID: Lines: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1324821326 news.xs4all.nl 6867 [2001:888:2000:d::a6]:46755 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:17901 On Mon, Dec 26, 2011 at 12:46 AM, Steven D'Aprano wrote: > class DrawableLine(Line): > =A0 =A0intersection_kind =3D DrawablePoint Ha! That works. I was sure there'd be some simple way to do it! ChrisA