a pistol is a weapon type of handgun