def FormatEnumAsDefinitionList(type_context, enum):
    'Format a EnumDescriptorProto as RST definition list.\n\n  Args:\n    type_context: contextual information for message/enum/field.\n    enum: DescriptorProto.\n\n  Returns:\n    RST formatted definition list item.\n  '
    return ('\n'.join((FormatEnumValueAsDefinitionListItem(type_context.ExtendEnumValue(index, enum_value.name), enum_value) for (index, enum_value) in enumerate(enum.value))) + '\n')
Format a EnumDescriptorProto as RST definition list.

Args:
  type_context: contextual information for message/enum/field.
  enum: DescriptorProto.

Returns:
  RST formatted definition list item.
def FormatEnumAsDefinitionList(type_context, enum):
    'Format a EnumDescriptorProto as RST definition list.\n\n  Args:\n    type_context: contextual information for message/enum/field.\n    enum: DescriptorProto.\n\n  Returns:\n    RST formatted definition list item.\n  '
    return ('\n'.join((FormatEnumValueAsDefinitionListItem(type_context.ExtendEnumValue(index, enum_value.name), enum_value) for (index, enum_value) in enumerate(enum.value))) + '\n')