摘要:
class MyType(type): def __init__(self, what, bases=None, dict=None): print("--MyType init ") super(MyType, self).__init__(what, bases, dict) def __cal 阅读全文
posted @ 2018-11-15 21:48
rongye
阅读(212)
评论(0)
推荐(0)
摘要:
# 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' 阅读全文
posted @ 2018-11-15 20:43
rongye
阅读(190)
评论(0)
推荐(0)
摘要:
__setitem__ name alex__delitem__ sdfdsf 阅读全文
posted @ 2018-11-15 20:29
rongye
阅读(133)
评论(0)
推荐(0)
摘要:
ChenRonghua is eating ddChenRonghua is talking http://www.cnblogs.com/alex3714/articles/5213184.html 阅读全文
posted @ 2018-11-15 19:54
rongye
阅读(395)
评论(0)
推荐(0)

浙公网安备 33010602011771号