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