supprimer plusieurs espaces python

import re
re.sub(' +', ' ', 'The     quick brown    fox')
'The quick brown fox'
SemicolonForgotten