Newbie question concerning map functionality

Henk Henk
Wed Jun 18 09:18:50 CEST 2003


Hi all,

I want to use the built-in map function to speed up the following for
loop. But I somehow fail to incorporate the unction called in the
argument. Can somebody help me out?

for child in self.childNodes:
    clone.appendChild(child.cloneNode(1))


Thanks,
Henk




More information about the Python-list mailing list