How to assign a default constant value in a function declaration
Vineet Jain
vineet at eswap.com
Sun Apr 4 19:26:30 EDT 2004
The following does not work although it seems like something you should be
able to do.
def someFunction(option=Constants.DEFAULT_VALUE):
Thanks,
V
More information about the Python-list
mailing list