Created originally on Bitbucket by lambacck (Chris Lambacher)
Was already merged in Bitbucket before import, marked as merged by the import user
Also included is a test.
I modeled it after the PyUnicode_Join function which does essentially the same thing and has the same function signature.