(self, data_value)
return wrapper % ', '.join(pairs)
Convert provided object to language specific literal.
Convert provided object to language specific literal.
Convert provided object to language specific literal .
def _Dictionary(self, data_value):
    """Convert provided object to language specific literal."""
    wrapper = '{%s}'
    pairs = []

    for key, val in data_value.value.iteritems():
      val = self.RenderDataValue(val)
      pairs.append('"%s": %s' % (key, val))

    return wrapper % ', '.join(pairs)
def _Dictionary ( self , data_value ) : wrapper = '{%s}' pairs = [ ] for key , val in data_value . value . iteritems ( ) : val = self . RenderDataValue ( val ) pairs . append ( '"%s": %s' % ( key , val ) ) return wrapper % ', ' . join ( pairs )