Comment 0 for bug 525808

Revision history for this message
Numérigraphe (numerigraphe) wrote : default Context=False in methods/functions

Often in the code base we have :
def foo(...., context=None,....)
    if not context:
        context={}
    .....

but shouldn't we have instead:
def foo(...., context={},....):
    ....
Lionel