Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28336

Re: Changing a Value in List of lists

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>
Subject Re: Changing a Value in List of lists
From Rishabh Dixit <rishabhdixit11@gmail.com>
Message-ID <mailman.125.1346648711.27098.python-list@python.org> (permalink)

Show all headers | View raw


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 | NextPrevious in thread | Find similar | Unroll thread


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