subscript problem

Steven Taschuk staschuk at
Tue Jun 3 22:23:30 CEST 2003

Quoth Jimmy verma:
> The problem is that when i use po[first] it gives an error message saying 
> that
> AttributeError: Vec instance has no attribute '__getitem__'

Is what you posted the actual code which produces this message?

If so, how are you getting a Python error message from C code?

If not, what's the real code?

Steven Taschuk                staschuk at
"I tried to be pleasant and accommodating, but my head
 began to hurt from his banality."   -- _Seven_ (1996)

More information about the Python-list mailing list