[Tutor] importing another classes's __init__

Terry Carroll carroll at tjc.com
Sun Feb 29 21:21:25 EST 2004


On Mon, 1 Mar 2004, Karl Pflästerer wrote:

> On 29 Feb 2004, Christopher Spears <- cspears2002 at yahoo.com wrote:
> 
> > I am trying to make a class called UList based on the
> > class UserList.  This is an example of how UserList
> > works:
> 
> Since some of your questions refer to homework I'm curious why your
> teacher does not use the features of modern Python but teaches you to
> use UserDict or UserList.

Well, if I was the instructor, I could defend that; it's instructive to be 
able to look at the UserDict.py and UserList.py code.





More information about the Tutor mailing list