We give a short proof of a theorem of J.-E. Pin (theorem 1.1 below), which can be found in his thesis.