Cette page n'est pas encore disponible en français, sa traduction est en cours. Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
Metadata
ID:python-best-practices/comparison-constant-left
Language: Python
Severity: Notice
Category: Best Practices
Description
In a comparison that compare a variable with a value, put the variable on the left side of the comparison expression.