it is worth making a clarification: not all clothespins are designed the same way and not every hole in the structure has exactly this function.
How a clothespin works
The classic clothespin is made up of two opposing parts joined by a metal spring . When the two rear ends are pressed, the front parts separate, allowing the fabric to be inserted.
When you let go, the spring returns the two ends to their initial position, applying pressure to the laundry.
The shape of the two jaws is not random: grooves,