typo: match doc text and example
Merge pull request #8313 from jholl/patch-1

typo: match doc text and example