need some basic help
Qurrat ul Ainy
qurratul.ainy1 at gmail.com
Thu Dec 24 14:33:18 EST 2015
what is snippet ??
On Thursday, December 24, 2015 at 5:25:18 AM UTC+1, Benjamin Kulas wrote:
> On Wednesday, December 23, 2015 at 7:53:43 PM UTC-6, Qurrat ul Ainy wrote:
> > Hello,
> >
> > Can someone please explain this code below. I am new at Python .
> > Thanks
> >
> >
> > def receive_messages(self, msgs, time):
> > for msg in msgs:
> > msg.set_recv_time(time)
> > self.msgs_received.extend(msgs)
>
> What exactly are you confused about? This looks like it is part of a class; can you post the entire class definition? Also, what is the purpose of the program that contains this snippet?
More information about the Python-list
mailing list