Machine pistol has 2 different meanings across 1 category:
Noun
a fully automatic pistol; a small submachine gun
A lightweight submachine gun, usually capable of being fired with one hand (but sometimes with a second grip at the front of the barrel and then fired like a rifle).