(self, value, title)
Convert/check value type.
Convert/check value type.
Convert / check value type .
def _convert_string_type(self, value, title):
        """Convert/check value type."""
        if type(value) is str:
            return value
        raise AssertionError(
            "{0} must be of type str (got {1})".format(title, repr(value))
        )
def _convert_string_type ( self , value , title ) : if type ( value ) is str : return value raise AssertionError ( "{0} must be of type str (got {1})" . format ( title , repr ( value ) ) )