摘要: 包装 1.二次加工标准类型(包装) class List(list): def append(self, a_objcet): if type(a_objcet) is str: super().append(a_objcet) else: print('请传入字符转类型') l1 = List(' 阅读全文
posted @ 2019-11-07 21:47 学python的菜鸟 阅读(296) 评论(0) 推荐(0) 编辑