static fucntion DistanceToPolygon not working

I tried to find distance between point to polygon with static function “DistanceToPolygon”

As per documentation 3rd argument should be points which I assumed list of tuples which contain xyz.

But giving me error
DistanceToPolygon argument 3: must be real number, not tuple

What are you providing as a third argument? A double*?