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

代码错误 #28

Open
Gray-Ice opened this issue Apr 29, 2022 · 1 comment
Open

代码错误 #28

Gray-Ice opened this issue Apr 29, 2022 · 1 comment

Comments

@Gray-Ice
Copy link

在(11.11. 创建描述符对象)中Foot类的魔法方法定义错误: __get__和__set__被错误写作了__get和__set 。

感谢诸位翻译者的无私奉献。

@Gray-Ice
Copy link
Author

Gray-Ice commented Apr 29, 2022

另外,在Foot类上面的Meter类中魔法方法__set__的参数错误,我翻阅了原版的PDF,此处应定义为(不晓得为啥下划线没有显示出来,set前后各有俩下划线): set(self, instance, value)

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