摘要: 1. 以下的代码的输出将是什么?class Parent(object): x = 1 class Child1(Parent): pass class Child2(Parent): pass print Parent.x, Child1.x, Child2.x Parent.x = 1 Chil 阅读全文
posted @ 2017-01-07 17:59 prime7 阅读(332) 评论(0) 推荐(0) 编辑