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/class-methods-use-self
Language: Python
Severity: Error
Category: Best Practices
Description
In a class method (that is not a class method nor a static method), the first argument must be self by convention.