On Sat, 12 Sep 2009 00:39:17 -0700, Miles Kaufmann wrote:
> On Apr 17, 2009, at 8:56 PM, Steven D'Aprano wrote:
>> If an integer variable is an integer, and a string variable is a
>> string,
>> and float variable is a float, and a list variable is a list (there's a
>> pattern here), shouldn't a cl
On Apr 17, 2009, at 8:56 PM, Steven D'Aprano wrote:
If an integer variable is an integer, and a string variable is a
string,
and float variable is a float, and a list variable is a list
(there's a
pattern here), shouldn't a class variable be a class and an instance
variable be an instance?
I
> Steven D'Aprano (SD) wrote:
>SD> On Fri, 17 Apr 2009 17:48:55 +0200, Diez B. Roggisch wrote:
>>> No, because you are creating *classvariables* when declaring things like
>>> this:
>SD> ...
>>> OTOH, when assigning to an instance, this will create an
>>> *instance*-variable. Which is what