4 ms·
If you care about whether an optional argument is omitted or not in Python I would default it to false instead of None.
by ZephyrBlu 6y ago
If you care about whether an optional argument is omitted or not in Python I would default it to false instead of None.
- xaedes 6y agoWhat about boolean optional arguments?