[portland] A List of Object Instances?
Dylan Reinhardt
dylanr at dylanreinhardt.com
Tue Apr 1 20:10:50 CEST 2008
On Tue, Apr 1, 2008 at 10:10 AM, Rich Shepard <rshepard at appl-ecosys.com>
wrote:
> Is there a Python data structure that can hold several of these object
> instances so they can be passed to the plotting function?
>
There are limits to what you can use as a dictionary key, but no limits
(that I know of) as to what kind of object you can put in a list.
Perhaps your problem has something to do with the way your list elements are
being appended and/or accessed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/portland/attachments/20080401/107f4ef3/attachment.htm
More information about the Portland
mailing list