caseless dictionary howto ?

Carsten Haese carsten at uniqsys.com
Wed Jun 20 09:08:04 EDT 2007


On Wed, 2007-06-20 at 11:14 +0200, stef wrote:
> Stefan Behnel wrote:
> Serial_HW_Read = the name of a function
> "F" = the type of that function (procedure / function / pseudo variable 
> / interrupt /..)
> "++" = the direction of each parameters, (input / output / input+output )
> T = a tupple, containing the type of each of the parameters (bit / byte/ 
> sbyte / word / ...)
> >  maybe a class to hold them would look better),
> maybe, but no human is looking at it ;-)

But humans might look at the code that looks at the thing.
thing.func_type is self-documenting, thing[0] is not.

-- 
Carsten Haese
http://informixdb.sourceforge.net





More information about the Python-list mailing list