third_party/protobuf/python/google/protobuf/text_format.py
def _PrintShortRepeatedPrimitivesValue(self, field, value):
    """"Prints short repeated primitives value."""
    # Note: this is called only when value has at least one element.
    self._PrintFieldName(field)
    self.out.write(' [')
    for i in six.moves.range(len(value) - 1):
      self.PrintFieldValue(field, value[i])
      self.out.write(', ')
    self.PrintFieldValue(field, value[-1])
    self.out.write(']')
    if self.force_colon:
      self.out.write(':')
    self.out.write(' ' if self.as_one_line else '\n')
Prints short repeated primitives value.
Prints short repeated primitives value.
Prints short repeated primitives value .
def _PrintShortRepeatedPrimitivesValue(self, field, value):
    self._PrintFieldName(field)
    self.out.write(' [')
    for i in six.moves.range(len(value) - 1):
      self.PrintFieldValue(field, value[i])
      self.out.write(', ')
    self.PrintFieldValue(field, value[-1])
    self.out.write(']')
    if self.force_colon:
      self.out.write(':')
    self.out.write(' ' if self.as_one_line else '\n')
def _PrintShortRepeatedPrimitivesValue ( self , field , value ) : self . _PrintFieldName ( field ) self . out . write ( ' [' ) for i in six . moves . range ( len ( value ) - 1 ) : self . PrintFieldValue ( field , value [ i ] ) self . out . write ( ', ' ) self . PrintFieldValue ( field , value [ - 1 ] ) self . out . write ( ']' ) if self . force_colon : self . out . write ( ':' ) self . out . write ( ' ' if self . as_one_line else '\n' )
Prints short repeated primitives value.
Prints short repeated primitives value .
""""Prints short repeated primitives value.""" # Note: this is called only when value has at least one element.
self
field
value