diff options
author | ven <vendethiel@hotmail.fr> | 2015-10-11 20:22:50 +0200 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2015-10-11 20:22:50 +0200 |
commit | 6e3b759a031d3f0881de33339b345885bbfc7c87 (patch) | |
tree | d995dd4ab7226cb1c08de25d75e1ebe07852b839 /python3.html.markdown | |
parent | 80d350a34933f7cf1f64a8554b477983097a0960 (diff) | |
parent | e6aa293c3afca8ff429a9f676d0807829e88106c (diff) |
Merge pull request #1450 from Gnomino/master
[python3/fr] [python3] Added french translation for Python3 and changed way of creating classes
Diffstat (limited to 'python3.html.markdown')
-rw-r--r-- | python3.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python3.html.markdown b/python3.html.markdown index cd1a83cc..5a992b54 100644 --- a/python3.html.markdown +++ b/python3.html.markdown @@ -569,8 +569,8 @@ filter(lambda x: x > 5, [3, 4, 5, 6, 7]) # => [6, 7] #################################################### -# We subclass from object to get a class. -class Human(object): +# We use the "class" operator to get a class +class Human: # A class attribute. It is shared by all instances of this class species = "H. sapiens" |