Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28335
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2012-09-02 22:05 -0700 |
| 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> <mailman.98.1346609404.27098.python-list@python.org> |
| Message-ID | <5c3e1037-0d6b-4bca-86cc-eb0520321a41@googlegroups.com> (permalink) |
| Subject | Re: Changing a Value in List of lists |
| From | Rishabh Dixit <rishabhdixit11@gmail.com> |
On Sunday, 2 September 2012 23:40:32 UTC+5:30, Terry Reedy wrote: > 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 Sorry for the inconvenience. I would not do it again.
Back to comp.lang.python | Previous | Next — Previous in thread | 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