-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Docs: incorrect signature for inspect.Signature.from_callable
#112316
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
Comments
It is should be |
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Nov 22, 2023
AlexWaygood
added a commit
that referenced
this issue
Dec 2, 2023
…llable` (#112317) Co-authored-by: Alex Waygood <[email protected]>
AlexWaygood
added a commit
to AlexWaygood/cpython
that referenced
this issue
Dec 2, 2023
…rom_callable` (python#112317) Co-authored-by: Alex Waygood <[email protected]>
AlexWaygood
added a commit
that referenced
this issue
Dec 2, 2023
…from_callable` (#112317) (#112629) gh-112316: Improve docs of `inspect.signature` and `Signature.from_callable` (#112317) Co-authored-by: Nikita Sobolev <[email protected]>
AlexWaygood
added a commit
to AlexWaygood/cpython
that referenced
this issue
Dec 2, 2023
…ature.from_callable` (python#112317) (cherry-picked from commit a74daba) Co-authored-by: Alex Waygood <[email protected]>
AlexWaygood
added a commit
that referenced
this issue
Dec 2, 2023
…from_callable` (#112317) (#112630) (cherry-picked from commit a74daba) Co-authored-by: Nikita Sobolev <[email protected]>
AlexWaygood
added a commit
to AlexWaygood/cpython
that referenced
this issue
Dec 2, 2023
…spect.Signature`
hauntsaninja
pushed a commit
that referenced
this issue
Dec 3, 2023
AlexWaygood
added a commit
to AlexWaygood/cpython
that referenced
this issue
Dec 3, 2023
…pect.Signature` (python#112631) (cherry-picked from commit fc9e24b)
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 3, 2023
…pect.Signature` (pythonGH-112631) (pythonGH-112649) (cherry-picked from commit fc9e24b) (cherry picked from commit 6221482) Co-authored-by: Alex Waygood <[email protected]>
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
…rom_callable` (python#112317) Co-authored-by: Alex Waygood <[email protected]>
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
…rom_callable` (python#112317) Co-authored-by: Alex Waygood <[email protected]>
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug report
cpython/Doc/library/inspect.rst
Lines 755 to 775 in fef6fb8
It has several problems:
.. versionadded
entries, one should be.. versionchanged
insteadeval_str
is missing from the signature, here how it looks on 3.10+: https://github.com/python/cpython/blob/3.10/Lib/inspect.py#L2998C1-L3002eval_str
is not documentedLinked PRs
inspect.signature
andSignature.from_callable
#112317inspect.signature
andSignature.from_callable
(#112317) #112629inspect.signature
andSignature.from_callable
(#112317) #112630inspect.signature
andinspect.Signature
#112631inspect.signature
andinspect.Signature
(#112631) #112649inspect.signature
andinspect.Signature
(GH-112631) (GH-112649) #112652The text was updated successfully, but these errors were encountered: