need some basic help

Qurrat ul Ainy qurratul.ainy1 at gmail.com
Wed Dec 23 20:53:13 EST 2015


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)



More information about the Python-list mailing list