-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-112316: Improve docs of inspect.signature
and Signature.from_callable
#112317
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
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!
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Co-authored-by: Alex Waygood <[email protected]>
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! There are other methods in this class that also have not-ideal docs markup (using `` for parameters, etc.). Would you be willing to do a followup PR for those, to make the whole class consistent in its markup?
Thanks @sobolevn for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @sobolevn and @AlexWaygood, I could not cleanly backport this to
|
Sorry, @sobolevn and @AlexWaygood, I could not cleanly backport this to
|
…rom_callable` (python#112317) Co-authored-by: Alex Waygood <[email protected]>
GH-112629 is a backport of this pull request to the 3.12 branch. |
…from_callable` (#112317) (#112629) gh-112316: Improve docs of `inspect.signature` and `Signature.from_callable` (#112317) Co-authored-by: Nikita Sobolev <[email protected]>
GH-112630 is a backport of this pull request to the 3.11 branch. |
…ature.from_callable` (python#112317) (cherry-picked from commit a74daba) Co-authored-by: Alex Waygood <[email protected]>
…from_callable` (#112317) (#112630) (cherry-picked from commit a74daba) Co-authored-by: Nikita Sobolev <[email protected]>
…rom_callable` (python#112317) Co-authored-by: Alex Waygood <[email protected]>
…rom_callable` (python#112317) Co-authored-by: Alex Waygood <[email protected]>
inspect.Signature.from_callable
#112316📚 Documentation preview 📚: https://cpython-previews--112317.org.readthedocs.build/