[portland] Dictionary As Switch Statement

Rich Shepard rshepard at appl-ecosys.com
Fri Jan 18 03:28:27 CET 2008


On Thu, 17 Jan 2008, kirby urner wrote:

> Actually, they don't require the parentheses except to trigger them as
> "callables" (a Pythonic jargon word, "iterables" being another favorite --
> dictionaries and lists are both iterables, as are generator expressions).

   Thank you, Kirby. That clarifies the situation.

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863


More information about the Portland mailing list