Python 元类教程
抱歉,如果我必须使用您作为 Google,但 Google 没有帮助。我正在寻找有关 Python 元类的非常好的教程。我记得它的一个功能是一个三窗格图像,其中有元类、类和实例,图像的每一列都有一个元类、类和实例。作者逐步为每个类添加了块,同时解释了元类背后的魔力。
这是一个非常好的教程,但我真的找不到了。
Sorry if I have to use you as Google, but Google does not help. I was looking for a very good tutorial about metaclasses in Python. One feature I remember about it was a three-paned image where you had metaclasses, classes and instances, one for each column of the image. The author progressively added blocks for each of them, while explaining the magic behind metaclasses.
It was a very good tutorial but I really cannot find it any more.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能会参考Python 类型和对象。
You may be referring to Python Types and Objects.