[Tutor] TRULY NEWBIE - MENTOR NEEDED
Kent Johnson
kent37 at tds.net
Wed Nov 23 04:48:14 CET 2005
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
More information about the Tutor
mailing list