On Tue, Nov 29, 2011 at 8:21 AM, J. Marc Edwards wrote:
> So I am defining my Python classes for a Django data model. I have a the
> following class hierarchy and would value some expert input on how to best
> implement this.
>
> I have many instances of a particular class which I call a "workflo
On Wed, Nov 30, 2011 at 2:21 AM, J. Marc Edwards wrote:
> ...a list of "a_workflows", i.e. a composite workflow, should I use this
> syntax?
> set_of_workflows = list(a_workflow)
>
This would be usual:
set_of_workflows = [a_workflow]
Using the list() constructor directly is for when you