Skip to content
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

gh-112316: Further improve docs for inspect.signature and inspect.Signature #112631

Merged
merged 5 commits into from
Dec 3, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Dec 2, 2023

  • Use the .. doctest:: and .. testcode:: directives to test code snippets in CI
  • Fix errors in the code snippets that are now tested in CI
  • Improve markup in a few places
  • Fix a few typos and minor grammar issues

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

@AlexWaygood AlexWaygood added needs backport to 3.11 only security fixes needs backport to 3.12 bug and security fixes labels Dec 2, 2023
@AlexWaygood AlexWaygood marked this pull request as ready for review December 2, 2023 23:34
Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hauntsaninja hauntsaninja merged commit fc9e24b into python:main Dec 3, 2023
31 checks passed
@miss-islington-app
Copy link

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

@miss-islington-app
Copy link

Sorry, @AlexWaygood and @hauntsaninja, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker fc9e24b01fb7da4160b82cef26981d72bb678c13 3.12

@miss-islington-app
Copy link

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

cherry_picker fc9e24b01fb7da4160b82cef26981d72bb678c13 3.11

@hauntsaninja hauntsaninja removed needs backport to 3.11 only security fixes needs backport to 3.12 bug and security fixes labels Dec 3, 2023
@AlexWaygood AlexWaygood deleted the more-Signature-docs branch December 3, 2023 10:22
@bedevere-app
Copy link

bedevere-app bot commented Dec 3, 2023

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

@AlexWaygood
Copy link
Member Author

I'll backport #112649 to 3.11 rather than backporting this PR to 3.11.

AlexWaygood added a commit to AlexWaygood/cpython that referenced this pull request Dec 3, 2023
AlexWaygood added a commit that referenced this pull request Dec 3, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 3, 2023
…pect.Signature` (pythonGH-112631) (pythonGH-112649)

(cherry-picked from commit fc9e24b)
(cherry picked from commit 6221482)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
AlexWaygood added a commit that referenced this pull request Dec 3, 2023
…spect.Signature` (GH-112631) (GH-112649) (#112652)

[3.12] gh-112316: improve docs for `inspect.signature` and `inspect.Signature` (GH-112631) (GH-112649)

(cherry-picked from commit fc9e24b)
(cherry picked from commit 6221482)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
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 news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants