Skip to content

Conversation

yicone
Copy link
Contributor

@yicone yicone commented Jan 28, 2022

文字描述:“另外,你可能还会问为什么 __init__() 方法中设置了 self.first_name 而不是 self._first_name 。”

参考:
https://github.com/yidao620c/python3-cookbook/blob/master/cookbook/c08/p06_managed_attribute.py#L12

文字描述:“另外,你可能还会问为什么 ``__init__()`` 方法中设置了 ``self.first_name`` 而不是 ``self._first_name`` 。”

参考:
https://github.com/yidao620c/python3-cookbook/blob/master/cookbook/c08/p06_managed_attribute.py#L12
@yidao620c yidao620c merged commit d82f16e into yidao620c:master Feb 1, 2022
fengjixuchui added a commit to fengjixuchui/python3-cookbook that referenced this pull request Mar 1, 2023
Merge pull request yidao620c#356 from yicone/patch-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants