Stir together pumpkin, sugar, vanilla & flour. Mix well. Heat oil to 360 degrees. Fry spoonfuls of mixture 3 to 5 minutes. Flatten between sheets of paper towel. Serves 4.