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

bpo-42416: Use inspect.getdoc for IDLE calltips #23416

Merged
merged 1 commit into from Nov 20, 2020

Conversation

terryjreedy
Copy link
Member

@terryjreedy terryjreedy commented Nov 20, 2020

Inspect.getdoc sometimes gets docstrings when ob.doc is None.

https://bugs.python.org/issue42416

Inspect.getdoc sometimes gets docstrings when ob.__doc__ is None.
@miss-islington
Copy link
Contributor

miss-islington commented Nov 20, 2020

Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9.
🐍🍒🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 20, 2020
Inspect.getdoc(ob) sometimes gets docstrings when ob.__doc__ is None.
(cherry picked from commit 7ddbaa7)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link

bedevere-bot commented Nov 20, 2020

GH-23417 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 20, 2020
Inspect.getdoc(ob) sometimes gets docstrings when ob.__doc__ is None.
(cherry picked from commit 7ddbaa7)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link

bedevere-bot commented Nov 20, 2020

GH-23418 is a backport of this pull request to the 3.8 branch.

@terryjreedy terryjreedy deleted the getdoc branch Nov 20, 2020
miss-islington added a commit that referenced this pull request Nov 20, 2020
Inspect.getdoc(ob) sometimes gets docstrings when ob.__doc__ is None.
(cherry picked from commit 7ddbaa7)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington added a commit that referenced this pull request Nov 20, 2020
Inspect.getdoc(ob) sometimes gets docstrings when ob.__doc__ is None.
(cherry picked from commit 7ddbaa7)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Inspect.getdoc(ob) sometimes gets docstrings when ob.__doc__ is None.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants