subclassing list

Robert Kern rkern at ucsd.edu
Sun Jul 31 22:03:16 EDT 2005


spike grobstein wrote:
>>You also need to post the code that raises the error, or no one else can
> 
> debug it.
> 
> sorry, I thought I had pasted that line in there, but I guess I missed
> it. Here's the full code (after modifying it slightly based on your
> post):
> 
> #! /usr/bin/env python
> 
> def circular_list(list):
   ^^^
As John pointed out, this is part of the problem, but as I pointed out, 
that's not the last of the problems with the code.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the Python-list mailing list