(value)
return value
Converts a value to, hopefully, a more appropriate Python object.
Converts a value to, hopefully, a more appropriate Python object.
Converts a value to hopefully a more appropriate Python object .
def _convert_stringval(value):
    """Converts a value to, hopefully, a more appropriate Python object."""
    value = str(value)
    try:
        value = int(value)
    except (ValueError, TypeError):
        pass

    return value
def _convert_stringval ( value ) : value = str ( value ) try : value = int ( value ) except ( ValueError , TypeError ) : pass return value