-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-101100: Fix sphinx warnings in whatsnew/3.9
#136163
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
8fafbbf
to
3054ebd
Compare
(cherry picked from commit 0a33221) Co-authored-by: sobolevn <mail@sobolevn.me>
(cherry picked from commit 0a33221) Co-authored-by: sobolevn <mail@sobolevn.me>
GH-136372 is a backport of this pull request to the 3.14 branch. |
GH-136373 is a backport of this pull request to the 3.13 branch. |
…136373) Co-authored-by: sobolevn <mail@sobolevn.me>
…136372) Co-authored-by: sobolevn <mail@sobolevn.me>
@@ -1139,7 +1139,7 @@ Changes in the Python API | |||
(Contributed by Christian Heimes in :issue:`36384`). | |||
|
|||
* :func:`codecs.lookup` now normalizes the encoding name the same way as | |||
:func:`encodings.normalize_encoding`, except that :func:`codecs.lookup` also | |||
:func:`!encodings.normalize_encoding`, except that :func:`codecs.lookup` also |
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.
This will be unnecessary with #136164, should I revert this there?
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.
Yes please :)
It used to be:
I opened #136162 about the
encodings
part.I had to use
because
stdtypes
defines this method asfrozenset.difference_update
📚 Documentation preview 📚: https://cpython-previews--136163.org.readthedocs.build/