Rewrite the following Python code that takes a list of strings and capitalizes each word, in the same Python syntax but more optimized code.
words = ['these', 'are', 'some', 'words']
words = ['these', 'are', 'some', 'words']
words = [word.capitalize() for word in words]