parameters: (value)
docstring: Convert an IntEnum member to a numeric value.
      If it's not an IntEnum member return the value itself.
docstring_summary: Convert an IntEnum member to a numeric value.
      If it's not an IntEnum member return the value itself.
docstring_tokens: Convert an IntEnum member to a numeric value . If it s not an IntEnum member return the value itself .
function: def _enum_to_int(value):
      """Convert an IntEnum member to a numeric value.
      If it's not an IntEnum member return the value itself.
      """
      try:
          return int(value)
      except (ValueError, TypeError):
          return value
function_tokens: def _enum_to_int ( value ) : try : return int ( value ) except ( ValueError , TypeError ) : return value