Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28286
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Changing a Value in List of lists |
| Date | 2012-09-02 14:07 -0400 |
| References | <CANFKW=GubXQ8Q7Zr+6dZVp451xi381VhGQHaUZpb1YA9cDs7zA@mail.gmail.com> <CANFKW=GeuGH68JUjVpRDTwdvcZb1YRYyc-V0APvS5pZPgwgnRg@mail.gmail.com> <CANFKW=ECCw1xARP0QS0MnKPPWc600EBkQ7GyLnT6J2PNd-HvdQ@mail.gmail.com> <k1vf2n$b3i$1@ger.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.98.1346609404.27098.python-list@python.org> (permalink) |
On 9/2/2012 7:17 AM, Mark Lawrence wrote: > On 02/09/2012 12:05, Rishabh Dixit wrote: >> Hi, >> >> I got it :). We should create a new list every time before adding to a >> list >> of list so that instead repeating the reference a new reference generated >> every time. >> > > Please don't top post on this list as it often destroys the context, > thanks. In this particular case, OP could and should have trimmed off everything other than the top post, as it stands alone. Then it would not have been a top post ;-). -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Changing a Value in List of lists Terry Reedy <tjreedy@udel.edu> - 2012-09-02 14:07 -0400 Re: Changing a Value in List of lists Rishabh Dixit <rishabhdixit11@gmail.com> - 2012-09-02 22:05 -0700 Re: Changing a Value in List of lists Rishabh Dixit <rishabhdixit11@gmail.com> - 2012-09-02 22:05 -0700
csiph-web