Fix documentation of spawn

Hi, I found the documentation of `spawn` is different from the current implementation.
So here is a pull request to fix the documentation.
If the implementation should be fixed instead, feel free to close this PR.
And could you improve English in the documentation so that it is easier to understand for native speakers?
Thanks!