Skip to content

Commit 261862f

Browse files
author
Taff
committed
修改错误
1 parent 1a2acd0 commit 261862f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c08/p06_create_managed_attributes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ property的一个关键特征是它看上去跟普通的attribute没什么两样
124124
125125
class Person:
126126
def __init__(self, first_name):
127-
self.first_name = name
127+
self.first_name = first_name
128128
129129
@property
130130
def first_name(self):

0 commit comments

Comments
 (0)