hitrust / google-app-engine-samples

Automatically exported from code.google.com/p/google-app-engine-samples
0 stars 0 forks source link

extend and append not working #32

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Execute the following code
x = [5]
x.append(6)
x.extend([7])
What is the expected output? What do you see instead?
Expected:
 after append x must be equal to [5,6]
 after extend x must be equal to [5,6,7]
Real result:
 x is not changed and is stilll [5]

Please provide any additional information below.

Original issue reported on code.google.com by AnthonyLait@gmail.com on 19 Feb 2010 at 8:45