> That's no good. You still get something printed out. In this case: > > None
Of course, silly me, p will return the default value None, you need
to replace the pass with return '' or, I guess use the lambda...
> ftable = { 'a' : lambda: 'a',...
> 'd' : lambda: ''}
Now it should work and is consistent again! But only for this
trivial case of printing a label...
Alan G.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
