-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Docs: incorrect signature for inspect.Signature.from_callable
#112316
Comments
sobolevn
added
type-bug
An unexpected behavior, bug, or error
docs
Documentation in the Doc dir
labels
Nov 22, 2023
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 <Alex.Waygood@Gmail.com>
AlexWaygood
added a commit
to AlexWaygood/cpython
that referenced
this issue
Dec 2, 2023
…rom_callable` (python#112317) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
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 <Alex.Waygood@Gmail.com>
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 <Alex.Waygood@Gmail.com>
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
…rom_callable` (python#112317) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
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 <Alex.Waygood@Gmail.com>
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
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: