A pump, in particular a sliding-vane pump, a roller cell pump, or a gear pump includes a rotating assembly, with, amongst other things, a rotor with radially-sliding vanes, rollers or gears and a drive shaft is provided. The rotor or a gearwheel is connected to the drive shaft by a toothing on the drive shaft and on the rotor or gearwheel for rotational drive.