This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients billyeatcookies, eric.smith, steven.daprano
Date 2021-12-23.15:35:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640273730.98.0.257228495893.issue46164@roundup.psfhosted.org>
In-reply-to
Content
Just use

    if a == b == 1:

Comparisons can be chained arbitrarily.

https://docs.python.org/3/reference/expressions.html#comparisons
History
Date User Action Args
2021-12-23 15:35:31steven.dapranosetrecipients: + steven.daprano, eric.smith, billyeatcookies
2021-12-23 15:35:30steven.dapranosetmessageid: <1640273730.98.0.257228495893.issue46164@roundup.psfhosted.org>
2021-12-23 15:35:30steven.dapranolinkissue46164 messages
2021-12-23 15:35:30steven.dapranocreate