Danny Yoo wrote:
> 
> On Tue, 22 Nov 2005, mike donato wrote:
> 
> 
>>Greetings, I am new student to programming and am experimenting with
>>PYTHON.  From what I have read, seems to be a very versatile language.
>>In the following excercise I am getting an error
>>
>>class String(str, Object):
> 
> The error is true: Python doesn't know of any class named 'Object'.  What
> you may be looking for is the 'object' class (lowercase 'o').

Though inheriting from str and object is redundant as str already is a subclass 
of object.

Kent

-- 
http://www.kentsjohnson.com

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to