[issue39315] Lists of objects containing lists

2020-01-12 Thread hmathers
hmathers added the comment: I should have known I was just doing something wrong. Thank you for your help! -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue39315] Lists of objects containing lists

2020-01-12 Thread hmathers
New submission from hmathers : class Folder(): papers = [] shelf = [] shelf.append(Folder) shelf.append(Folder) shelf[0].papers.append("one") shelf[1].papers.append("two") print(shelf[0].papers) #should just print "one" right? -- messages: 359858 n