#NEWLINE# @ marked #NEWLINE# def construct_yaml_float( self , node ) : #NEWLINE# #INDENT# value = self . construct_scalar ( node ) . value #NEWLINE# sign = ( + 1 ) #NEWLINE# if ( value [ 0 ] == '-' ) : #NEWLINE# #INDENT# sign = ( - 1 ) #NEWLINE# #UNINDENT# if ( value [ 0 ] in '+-' ) : #NEWLINE# #INDENT# value = value [ 1 : ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( sign * float ( value ) )