[issue5383] Allow intermixing of keyword arguments and vargarg arguments
David W. Lambert
report at bugs.python.org
Fri Feb 27 19:01:29 CET 2009
David W. Lambert <lambertdw at corning.com> added the comment:
I think you need this order preserving paradigm using python as is:
def xhtmlNode(tag,*args):
...
xhtmlNode('div', {'id':'sidebar'}, 'Hello world')
Less work in xhtmlNode might offset the extra work in writing the
function call. Oh well, I didn't read the pythonforum thread.
----------
nosy: +LambertDW
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5383>
_______________________________________
More information about the Python-bugs-list
mailing list