Clothes Pin On The Fuel Line?

In the line between the pump and carburetor so it stops the fuel from draining back into the pump and line going to the tank.
I have never figured out how the fuel drains from the carb and back to the tank, when the fuel inlet on the carb is higher then the level of the fuel in the float bowl.