Use builtin compile in doc example
Use builtin compile in doc example

Follow up to #7438

Akasurde/pytest,RonnyPfannschmidt/pytest,The-Compiler/pytest,nicoddemus/pytest,nicoddemus/pytest,The-Compiler/pytest,pytest-dev/pytest,markshao/pytest