Fix docs for `takef`

Closes PR 14619