On Tue, 24 Jul 2007 02:26:15 -0700, NetHead wrote:
> The code below is WRONG, but hopefully illustrates what I am trying to
> achieve.
>
> Any suggestions how to code this is an efficient and maintainable (and
> correct) manner?
>
> […]
> for i in wildcards:
> for j in i:
>
I want to apply a method (replaceFieldsAndIndices) in my class to a
number of attributes of a data structure.
Specifically, to give some context, in the variable j below, I want to
replace wildcards with values.
I wanted to avoid cluttering the code with multiple calls to the
method replaceFields