Some more research reveals that using Period-1 instead of Period is called Bessel's correction.

The justification is that among (x1 - x_mean, ..., xn - x_mean) there are only n-1 independant values because their sum is zero.

A quick inspection of the ta-lib sources suggests that ta-lib uses Period rather than Period-1.