Skip to content

Attempt to simplify the "if ... is None" statement

Nsukami Patrick requested to merge topic/default/is_none into branch/default

An attempt to make source code easier to read by replacing:

if foo is None:
    foo = func(val)

By:

foo = foo or func(val)
Edited by Nsukami Patrick

Merge request reports