need some basic help
Benjamin Kulas
bkulbismuth at gmail.com
Wed Dec 23 23:24:53 EST 2015
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