DOC: fix example of GH8512 name clash with following examples
Merge pull request #8579 from jorisvandenbossche/doc-fixes015

DOC: fix example of GH8512 name clash with following examples