def UnpackLocation(value):
 packed = base64hex.B64HexDecode(value)
 (latitude, longitude, accuracy) = struct.unpack('>ddd', packed)
 return Location(latitude=latitude, longitude=longitude, accuracy=accuracy)

def UnpackLocation ( value ) : packed = base64hex . B64HexDecode ( value ) ( latitude , longitude , accuracy ) = struct . unpack ( '>ddd' , packed ) return Location ( latitude = latitude , longitude = longitude , accuracy = accuracy )
converts from a packed .