摘要:
昨天收官之作,以为自己懂的差不多了,但今天看了工作中的框架源码。 def with_metaclass(meta, *bases): """Create a base class with a metaclass.""" # This requires a bit of explanation: t 阅读全文
摘要:
参考了以下链接:https://stackoverflow.com/questions/592746/how-can-you-print-a-variable-name-in-python 代码如下 def yield_dict(*p): import inspect, re for line in 阅读全文