1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-07 07:16:42 +02:00

Merge pull request #4088 from krotera/patch-1

[python/en] Fix tiny typos
This commit is contained in:
Max Schumacher
2021-03-21 15:31:23 +01:00
committed by GitHub

View File

@@ -735,7 +735,7 @@ class Human:
return "*grunt*" return "*grunt*"
# A property is just like a getter. # A property is just like a getter.
# It turns the method age() into an read-only attribute of the same name. # It turns the method age() into a read-only attribute of the same name.
# There's no need to write trivial getters and setters in Python, though. # There's no need to write trivial getters and setters in Python, though.
@property @property
def age(self): def age(self):