Juancarlo Añez wrote:

   if settings[MY_KEY] is True:
       ...

If I saw code like this, it would take a really good argument to
convince me that it shouldn't be just

    if settings[MY_KEY]:
        ...

--
Greg
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to