Sujet : Re: Configuring an object via a dictionary
De : barry (at) *nospam* barrys-emacs.org (Barry)
Groupes : comp.lang.pythonDate : 16. Mar 2024, 10:15:19
Autres entêtes
Message-ID : <mailman.101.1710576938.3452.python-list@python.org>
References : 1 2
User-Agent : iPad Mail (21E219)
On 15 Mar 2024, at 19:51, Thomas Passin via Python-list <python-list@python.org> wrote:
I've always like writing using the "or" form and have never gotten bit
I, on the other hand, had to fix a production problem that using “or” introducted.
I avoid this idiom because it fails on falsy values.
Barry