Economic growth in the third quarter was revised slightly higher for a second time.

The Commerce Department Wednesday said its final report, or third reading, on gross domestic product showed the economy expanded at a revised annualized rate of 4.0%. Economists expected no change from the previous reading of 3.9%. The government's initial estimate was 3.7%.

Higher computer sales and auto output were the main reasons for the upward revision, the government said.

A key inflation gauge -- the price deflator -- came in at 1.4%, up from 1.3% previously. The index rose 3.2% in the second quarter.

The economy grew at a rate of 3.3% in the second quarter, having suffered something of a late-spring slowdown.