Nvm, my bad, I misunderstood the split instruction.
No difference :)
---
Wyrmskull
P.S Sorry about the P.M., I misclicked on a GUI
--
http://mail.python.org/mailman/listinfo/python-list
bst(reps,a) + reps[0][1] + mySubst (reps,c)
else:
return mySubst(reps[1:], seq)
else:
return seq
print mySubst( ( ('foo','bar'), ('bar','qux'), ('qux','foo') ), 'foobarquxfoo')
print mySubst( ( (
reps[0][0])
if b:
return mySubst(reps,a) + reps[0][1] + mySubst (reps,c)
else:
return mySubst(reps[1:],string)
print mySubst( ( ('foo','bar'), ('bar','qux'), ('qux','foo') ), 'foobarquxfoo')
---
Wyrmskull
--
http://mail.python.org/mailman/listinfo/python-list