| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
I would have rejected this PR if other examples weren't already written with executability in mind but in this case, we only complete what is incomplete so it is fine. |
Sorry, something went wrong.
|
Thanks for the quick review—much appreciated! I agree. Minimal imports help readers run the examples more easily. |
Sorry, something went wrong.
…amples (pythonGH-139488) (cherry picked from commit f3d7fae) Co-authored-by: Peter <35064951+ttw225@users.noreply.github.com>
…amples (pythonGH-139488) (cherry picked from commit f3d7fae) Co-authored-by: Peter <35064951+ttw225@users.noreply.github.com>
|
GH-139493 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
GH-139494 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Several examples in Doc/library/enum.rst are meant to be runnable as standalone doctest-style blocks. This PR adds the minimal from enum import ... lines so each block runs when copied in isolation.
The current documentation is correct; this change simply improves convenience for newcomers and first-time readers.
Notes
📚 Documentation preview 📚: https://cpython-previews--139488.org.readthedocs.build/