#NEWLINE# def validate_positive_float_or_zero( option , value ) : #NEWLINE# #INDENT# "Validates that 'value' is 0 or a positive float, or can be converted to\n    0 or a positive float.\n    " #NEWLINE# if ( ( option == 0 ) or ( value == '0' ) ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# return validate_positive_float ( option , value )