| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thanks @savannahostrowski for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, something went wrong.
|
Sorry, @savannahostrowski, I could not cleanly backport this to 3.14 due to a conflict. cherry_picker 6194a552f2b010e1dcdd006996f613c956520124 3.14 |
Sorry, something went wrong.
(cherry picked from commit 6194a55)
|
GH-145151 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
GH-145151 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The current example incorrectly shows integer literals in the parse_args() list (i.e., the code is actually invalid and results in a TypeError) and uses a confusing type=int conversion that isn't relevant to demonstrating suggest_on_error.
This PR simplifies the example to use realistic string choices without the unnecessary type conversion.
Reader's note: I was the one who originally added this example to the docs in #124456 🤦♀️
📚 Documentation preview 📚: https://cpython-previews--144985.org.readthedocs.build/