A claw (C) for a milking machine comprises an enclosure having an upper part (1) and a lower part (2) and enclosing an inner space (3) for a milk flow during a milking operation. Inlet members (8) for receiving a respective short milk conduit (9) permit feeding of milk to the inner space from a respective teatcup. An outlet nipple (12) permits discharge of the milk from inner space. A passage is provided for the milk from the inner space to the outlet nipple. A closing valve (33) comprises a valve body (34) movable to a closed position, in which the passage is closed, and to an open position in which the passage is open. The closing valve comprises a membrane (35) connected to the valve body and having a rest state at which the membrane holds the valve body in an intermediate position between the open position and the closed position.