add by zhj:先收藏了,有时间看,图倒是不少,可以配合stackover flow上那篇文章一起看 原文:http://blog.ionelmc.ro/2015/02/09/understanding-python-metaclasses/ None of the existing articles [1] give a comprehensive explanation of how metaclasses work in Python so I'm making my own. Me…