Re: Configuring an object via a dictionary

Liste des GroupesRevenir à cl python 
Sujet : Re: Configuring an object via a dictionary
De : barry (at) *nospam* barrys-emacs.org (Barry)
Groupes : comp.lang.python
Date : 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

Date Sujet#  Auteur
16 Mar 24 o Re: Configuring an object via a dictionary1Barry

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal