class_docstr: Simple, type-checked, list-like container for holding repeated scalars.
class_docstr_tok: ["Simple",",","type-checked",",","list-like","container","for","holding","repeated","scalars","."]
docstr: Extends by appending the given iterable. Similar to list.extend().
docstr_tok: ["Extends","by","appending","the","given","iterable",".","Similar","to","list.extend","(",")","."]
code: def extend(self, elem_seq):
      """Extends by appending the given iterable. Similar to list.extend()."""
  
      if elem_seq is None:
          return
      try:
          elem_seq_iter = iter(elem_seq)
      except TypeError:
          if not elem_seq:
              # silently ignore falsy inputs :-/.
              # TODO(ptucker): Deprecate this behavior. b/18413862
              return
          raise
  
      new_values = [
          self._type_checker.CheckValue(elem) for elem in elem_seq_iter
      ]
      if new_values:
          self._values.extend(new_values)
      self._message_listener.Modified()
  
imports: import collections
  import sys
label_desc: Use image node_id 4 for calling the RepeatedScalarFieldContainer obj's underlying member method code with example usage: obj.extend(elem_seq) without return types