On 6/12/2010 3:59 PM, Alan Gauld wrote:

"bob gailer" <bgai...@gmail.com> wrote

You can collect functions in a sequence, then iterate over it. This allows for easy expansion (when you decide to add another function).

funcs = (dosomething(), dosomethingelse())

I suspect Bob meant to leave off the ().

Yep. Thank you for the correction.

--
Bob Gailer
919-636-4239
Chapel Hill NC

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to