I have come across an issue not quite sure how to solve in the best way

Setting a repeated list of strings to an empty list (to start fresh). The 
only solution I have

while True:
  except IndexError:

I essentially loop through removing the first object until I hit an index 
error. I'm looking for the best equivalent of

object.repeated_list = []

Is this the best route, or is there an easier way? Thanks in advance.

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to