8000 gh-101100: Fix sphinx warnings in `whatsnew/3.9` by sobolevn · Pull Request #136163 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-101100: Fix sphinx warnings in whatsnew/3.9 #136163

8000
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sobolevn
Copy link
Member
@sobolevn sobolevn commented Jul 1, 2 8000 025

It used to be:

/Users/sobolev/Desktop/cpython/Doc/whatsnew/3.9.rst:426: WARNING: py:const reference target not found: fcntl.F_OFD_GETLK [ref.const]
/Users/sobolev/Desktop/cpython/Doc/whatsnew/3.9.rst:426: WARNING: py:const reference target not found: fcntl.F_OFD_SETLK [ref.const]
/Users/sobolev/Desktop/cpython/Doc/whatsnew/3.9.rst:426: WARNING: py:const reference target not found: fcntl.F_OFD_SETLKW [ref.const]
/Users/sobolev/Desktop/cpython/Doc/whatsnew/3.9.rst:647: WARNING: py:attr reference target not found: random.Random.randbytes [ref.attr]
/Users/sobolev/Desktop/cpython/Doc/whatsnew/3.9.rst:779: WARNING: py:func reference target not found: set.difference_update [ref.func]
/Users/sobolev/Desktop/cpython/Doc/whatsnew/3.9.rst:1141: WARNING: py:func reference target not found: encodings.normalize_encoding [ref.func]

I opened #136162 about the encodings part.

I had to use

:meth:`!set.difference_update`

because stdtypes defines this method as frozenset.difference_update


📚 Documentation preview 📚: https://cpython-previews--136163.org.readthedocs.build/

@sobolevn sobolevn force-pushed the issue-101100-3.9 branch from 8fafbbf to 3054ebd Compare July 1, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting core review docs Documentation in the Doc dir skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant
0