Skip to content

Fix Sphinx warnings in re library docs #107044

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

Merged

Conversation

wulmer
Copy link
Contributor

@wulmer wulmer commented Jul 22, 2023

As addition to PR #106995 this PR fixes the remaining Sphinx warnings.

There are two issues:

  1. Missing re.U definition
  2. Reference on C function scanf

For 2., I chose to use exclamation mark to disable the reference link, but I am not sure if scanf should be included into #106948.


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

@bedevere-bot bedevere-bot added awaiting review docs Documentation in the Doc dir skip news labels Jul 22, 2023
@methane
Copy link
Member

methane commented Jul 22, 2023

LGTM. But I wait for another review from better English writer before merge.

@AlexWaygood AlexWaygood merged commit 149748e into python:main Jul 22, 2023
@AlexWaygood AlexWaygood added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Jul 22, 2023
@miss-islington
Copy link
Contributor

Thanks @wulmer for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @wulmer for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @wulmer and @AlexWaygood, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 149748ea4f552e6fe43a1d6d69bd65910a7c4813 3.11

@miss-islington
Copy link
Contributor

Sorry @wulmer and @AlexWaygood, I had trouble checking out the 3.12 backport branch.
Please retry by removing and re-adding the "needs backport to 3.12" label.
Alternatively, you can backport using cherry_picker on the command line.
cherry_picker 149748ea4f552e6fe43a1d6d69bd65910a7c4813 3.12

@AlexWaygood AlexWaygood added needs backport to 3.12 only security fixes and removed needs backport to 3.12 only security fixes labels Jul 22, 2023
@miss-islington
Copy link
Contributor

Thanks @wulmer for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-107046 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label Jul 22, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 22, 2023
(cherry picked from commit 149748e)

Co-authored-by: wulmer <[email protected]>
@AlexWaygood
Copy link
Member

Ah, I see the conflict for the 3.11 backport is (at least partly) due to the fact that the .nitignore file doesn't exist on the 3.11 branch. That's somewhat annoying...

AlexWaygood pushed a commit that referenced this pull request Jul 22, 2023
Fix Sphinx warnings in `re` module docs (GH-107044)
(cherry picked from commit 149748e)

Co-authored-by: wulmer <[email protected]>
@AlexWaygood
Copy link
Member

@wulmer, are you able to take care of the 3.11 backport?

@wulmer
Copy link
Contributor Author

wulmer commented Jul 22, 2023

@wulmer, are you able to take care of the 3.11 backport?

@AlexWaygood : I think so. I have read the comments above about the cherry_picker command, do I have to use it? Or would it be ok to just commit to the 3.11 branch?

@AlexWaygood
Copy link
Member

@wulmer, are you able to take care of the 3.11 backport?

@AlexWaygood : I think so. I have read the comments above about the cherry_picker command, do I have to use it? Or would it be ok to just commit to the 3.11 branch?

Either is absolutely fine :)

@bedevere-bot
Copy link

GH-107055 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Jul 22, 2023
@wulmer wulmer deleted the fix-sphinx-warnings-in-library-re-docs branch July 22, 2023 16:34
AlexWaygood pushed a commit that referenced this pull request Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants