摘要:
class MyType(type): def __init__(self, what, bases=None, dict=None): print("--MyType init ") super(MyType, self).__init__(what, bases, dict) def __cal 阅读全文
摘要:
# class Foo(object):# def __init__(self, name):# self.name = name### f = Foo("alex")# print(type(f))# print(type(Foo))def func(self): print('hello %s' 阅读全文
摘要:
__setitem__ name alex__delitem__ sdfdsf 阅读全文
摘要:
ChenRonghua is eating ddChenRonghua is talking http://www.cnblogs.com/alex3714/articles/5213184.html 阅读全文