Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

day09 面向对象进阶中关于__slots__的部分是不是存在代码缺失问题? #1042

Open
kmoonn opened this issue Jul 29, 2024 · 0 comments

Comments

@kmoonn
Copy link

kmoonn commented Jul 29, 2024

image
图中示例代码的报错:AttributeError: 'Person' object has no attribute '_is_gay',但是示例代码中没有调用也没有定义_is_gay 方法。

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

No branches or pull requests

1 participant