def constructor_float(loader, node):
 value = loader.construct_scalar(node)
 return float(value)

def constructor_float ( loader , node ) : value = loader . construct_scalar ( node ) return float ( value )
callback used by pyyaml when a "!float <str>" tag is encountered .