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
Documentation for Signature, Parameter and signature in inspect module #59356
Comments
The PEP-362 implementation has been committed, but the inspect module documentation still needs to be updated. |
Moving back to blocker for beta2. |
Is anyone working on this? I could possibly take a stab at it tonight, if I get the evening to myself. |
Larry, Brett, I compiled the documentation from the PEP (attached as inspect.PEP-362.1.patch). Please take a look and feel free to add/edit. |
The new patch version (inspect.PEP-362.2.patch) includes more examples and includes recommendations to use the Signature Object instead of 'inspect.getfullargsspec'. Please review. |
New patch version - inspect.PEP-362.3.patch I decided to put the new doc section above the "Classes and functions". The new section is now called "Introspecting callables with Signature Object". Aside from that everything is the same as in the 2nd patch. |
Docs issues won't block b2. |
Yury, please updete your patch to pass doctest: ./python -m doctest Doc/library/inspect.html |
Update patch |
Thanks a lot for the patch update, Andrew! Please let me glance over it once again today/tomorrow before you commit it. |
Slightly updated version |
New changeset 814462492fbd by Andrew Svetlov in branch 'default': |
Closing the issue. Feel free to reopen if you have some corrections. |
Thank you, Andrew. One thing: can you please change:
to
? |
Done in 843e0da7e91f |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: