That clears it up to an extent.

On Thu, Jun 9, 2011 at 11:31 AM, Steve Willoughby <[email protected]> wrote:

> The value 5 is an integer-class object.


But now what is "Integer-class"? Isn't integer a data type? I mean there is
no concept of "classes" in C, and yet in C, we can write

int x = 5;

Will "5", then be called an integer class object?

What exactly is a class now? I thought is a collection of variables and (or)
associated functions. Am I missing something here?


-- 
Regards,
Ashwini
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to