summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlilhandsbgdreams <lilhandsbgdreams@users.noreply.github.com>2017-02-16 02:41:16 -0600
committerven <vendethiel@hotmail.fr>2017-02-16 09:41:16 +0100
commit56a18f79cfdd8df12572327cd8810c9101a1ed00 (patch)
treef38e8c24650167231f8747e3541b9e64782dd101
parenta612d54b0bc7ab64223b25efc8eec1242eaba5e3 (diff)
[python3/en] Fix two "getter" output examples (#2658)
-rw-r--r--python3.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/python3.html.markdown b/python3.html.markdown
index 596b53e6..b701d558 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -729,8 +729,8 @@ if __name__ == '__main__':
# Update the property for this instance
i.age = 42
# Get the property
- i.say(i.age) # => 42
- j.say(j.age) # => 0
+ i.say(i.age) # => "Ian: 42"
+ j.say(j.age) # => "Joel: 0"
# Delete the property
del i.age
# i.age # => this would raise an AttributeError