diff options
Diffstat (limited to 'fr-fr')
| -rw-r--r-- | fr-fr/python3-fr.html.markdown | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/fr-fr/python3-fr.html.markdown b/fr-fr/python3-fr.html.markdown index b687143c..22256efc 100644 --- a/fr-fr/python3-fr.html.markdown +++ b/fr-fr/python3-fr.html.markdown @@ -570,8 +570,8 @@ filter(lambda x: x > 5, [3, 4, 5, 6, 7])   # => [6, 7]  #################################################### -# On hérite de object pour créer une classe -class Human(object): +# On utilise l'opérateur "classe" pour définir une classe +class Human:      # Un attribut de la classe. Il est partagé par toutes les instances de la classe.      species = "H. sapiens" | 
