[issue5620] The attribute's action of an object is not correct.

2009-04-01 Thread edmundy
edmundy yong.su...@163.com added the comment: Thanks a lot! Kozyarchuk. I have thought the self.myurl should be the object variable, not class variable. The class variable really is confusing. Why do they like that? -- status: open - closed

[issue5620] The attribute's action of an object is not correct.

2009-03-31 Thread edmundy
New submission from edmundy yong.su...@163.com: The following is the test code. class C1: myurl = [] def test(self): url = [5,6,7] self.myurl.extend(url) def testv(): c = C1() c.test() print(c.myurl