def _get_type(self, value):
if value is None:<EOL><INDENT>return type(None)<EOL><DEDENT>elif type(value) in int_types:<EOL><INDENT>return int<EOL><DEDENT>elif type(value) in float_types:<EOL><INDENT>return float<EOL><DEDENT>elif isinstance(value, binary_type):<EOL><INDENT>return binary_type<EOL><DEDENT>else:<EOL><INDENT>return text_type<EOL><DEDENT>
Get the data type for *value*.