#NEWLINE# def validate_string_or_none( option , value ) : #NEWLINE# #INDENT# "Validates that 'value' is an instance of `basestring` or `None`.\n    " #NEWLINE# if ( value is None ) : #NEWLINE# #INDENT# return value #NEWLINE# #UNINDENT# return validate_string ( option , value )