Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:not': 0.03; 'say,': 0.05; 'specific.': 0.09; 'subject:instance': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'color.': 0.16; 'does,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'sense,': 0.16; 'subject:)?': 0.16; 'subject:object': 0.16; 'followed': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'saying': 0.22; 'cc:addr:python.org': 0.22; 'instance,': 0.24; 'cc:2**0': 0.24; 'class.': 0.26; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'words': 0.29; 'message- id:@mail.gmail.com': 0.30; 'know.': 0.32; 'subject: (': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'object,': 0.36; 'two': 0.37; 'sure': 0.39; 'skip:u 10': 0.60; 'more': 0.64; 'between': 0.67; '2015': 0.84; 'batchelder': 0.84; '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=+UWRwCCcCKOlmKhDhMsEBA9u9CUoANVLuPmqfrSIE/o=; b=nu9Nzp1+gRHlWsOgLMkr3pnO3TNkIAQrALuT5/tGVpP5CQuD2Ky6dmG03owNqSzaS2 GVDS8nrK2vjToTGo42xdiAS4jvFbqg6PKrvYu57kzymcTBV7EiPpoywKu0Jbsx+xIOza gBwjRb0NF2CefQX1IeqDGv6RXvKreJ4hgfEW9cEocramT+CjmAxCCCkDH+V0LD24d9aj Uzi4GVHBZCvGyAHtct3SOvggSm6StrjpcbnEygtQZDjdeTKTG9zt4u/W1cBoAHH4sw5d 0pM0Lf6qwyPYreb6CstCSyqduK2o6lJJsfdkWOnTVp/Q1lwnwHWIbrHhyqEqlHtmk5jJ VZdA== MIME-Version: 1.0 X-Received: by 10.50.18.108 with SMTP id v12mr556081igd.34.1422402143032; Tue, 27 Jan 2015 15:42:23 -0800 (PST) In-Reply-To: References: Date: Wed, 28 Jan 2015 10:42:22 +1100 Subject: Re: An object is an instance (or not)? 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1422402146 news.xs4all.nl 2957 [2001:888:2000:d::a6]:41645 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:84686 On Wed, Jan 28, 2015 at 10:22 AM, Ned Batchelder wrote: > I don't know what the difference is between "object" and "instance". An > object is an instance of a class. The two words are interchangeable as far > as I know. My understanding is that "instance" is meaningless unless followed by "of". That is to say, 123.45 is an object, and it is an instance *of* the 'float' class. Everything in Python is an instance *of something*, so in a sense, you can say that everything is an instance, but that's like saying that everything has a color. Sure it does, but you need to be more specific. ChrisA