Re: Keyword Named Args

2005-02-21 Thread Diez B. Roggisch
> What I can't easily see is any way of passing named keyword arguments > to the function. Suppose we wanted to pass keyword=param to a function > - is there any way of doing this ... obviously passing in > 'keyword=param' as text has entirely the wrong result.. Im not sure if I understand you

Keyword Named Args

2005-02-21 Thread Fuzzyman
A colleague and I have built a Validator object for use with ConfigObj and other general schema situations. A config file is used to store a schema that specifies how to test a value that it is valid. keyword=function(param1, param2) e.g. you could specify : size = range(30, 50) This means that