This makes it sound like users will need to call `compose(list, second)` if they want to use this function.

This sounds like a note for developers, not users.  Perhaps it would be better as a comment, not a docstring.