On 26 November 2003, Michael Watkins said:
> How about we just require that attrs passed be a dict and be done with
> it. Leave the creation of the dict the responsibility of the application
> developer.
That is the conclusion which I have come to as well.
(However, I'd like to see a convenience function attrs() that turns
keyword args into a dict, taking care of the 'class_' -> 'class'
conversion. Someone already posted a perfectly good implementation, so
I won't add my own.)
(Right now, I do not think that this convenience function should handle
'xml:lang', mainly because I have never used that attribute myself. ;-)
Greg
--
Greg Ward http://www.gerg.ca/
The world is coming to an end. Please log off.