Update p06_create_managed_attributes.rst

This commit is contained in:
ckkbupt
2020-08-20 12:12:11 +08:00
committed by GitHub
parent f67d542343
commit 7e3a7e7ba1

View File

@@ -17,7 +17,7 @@
class Person:
def __init__(self, first_name):
self._first_name = first_name
self.first_name = first_name
# Getter function
@property