[issue5382] Allow Python keywords as keyword arguments for functions.

Matthew Barnett report at bugs.python.org
Fri Feb 27 18:01:30 CET 2009


Matthew Barnett <python at mrabarnett.plus.com> added the comment:

The usual trick is to append "_":

xhtmlNode('div',class_='sidebar')

Could you modify the function to remove the trailing "_"?

----------
nosy: +mrabarnett

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5382>
_______________________________________


More information about the Python-bugs-list mailing list