Merge pull request #330 from ckkbupt/patch-1
Update p06_create_managed_attributes.rst
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
class Person:
|
||||
def __init__(self, first_name):
|
||||
self._first_name = first_name
|
||||
self.first_name = first_name
|
||||
|
||||
# Getter function
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user