From 7e3a7e7ba1997fa3b01c792afd6819a4bcbc47ce Mon Sep 17 00:00:00 2001 From: ckkbupt <2292789608@qq.com> Date: Thu, 20 Aug 2020 12:12:11 +0800 Subject: [PATCH] Update p06_create_managed_attributes.rst --- source/c08/p06_create_managed_attributes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/c08/p06_create_managed_attributes.rst b/source/c08/p06_create_managed_attributes.rst index 100be65d..cde38194 100644 --- a/source/c08/p06_create_managed_attributes.rst +++ b/source/c08/p06_create_managed_attributes.rst @@ -17,7 +17,7 @@ class Person: def __init__(self, first_name): - self._first_name = first_name + self.first_name = first_name # Getter function @property