[quote author=liboy link=topic=2259.msg7294#msg7294 date=1293463300][quote author=Joshua link=topic=2259.msg7293#msg7293 date=1293451663]哪一行有错误呢?我曾经运行过,没错误啊。听听shelly的劝告,如果是window其实没必要用源码运行[/quote] [attach=1][attach=2][attach=3]想调试下程序 看下系统运行的流程,看源代码对底层了解得更清楚[/quote]你提到的self参数缺失,其实不是一个错误,self这个名字作为method的第一个参数只是一个convention, 其实用任何变量名都可以。这充其量只能算个警告。