-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-123494: Improve documentation for webbrowser
return types
#123495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, remove the type annotations.
Why, please? The module already has some type annotations anyway. |
The only type annotations in this module are present in two relatively new functions ( |
Also, please, remove the |
8dff656
to
a889674
Compare
Okay, I didn't know about this rule. (Is it documented somewhere?) Ripped out the annotation commit.
Done, ripped out that commit too. |
webbrowser
webbrowser
return types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! (though just to note, please avoid force-pushing in the future, we squash merge all commits.)
A
Thanks @akx for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
pythonGH-123495) Document the return value for ``webbrowser.open*()``. (cherry picked from commit 0b6acfe) Co-authored-by: Aarni Koskela <[email protected]>
GH-123548 is a backport of this pull request to the 3.13 branch. |
pythonGH-123495) Document the return value for ``webbrowser.open*()``. (cherry picked from commit 0b6acfe) Co-authored-by: Aarni Koskela <[email protected]>
GH-123549 is a backport of this pull request to the 3.12 branch. |
This PR improves the documentation for the return types in the
webbrowser
module.webbrowser
's API aren't documented #123494📚 Documentation preview 📚: https://cpython-previews--123495.org.readthedocs.build/