Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix CallableType.formal_arguments docstring - #11861

Merged
JelleZijlstra merged 2 commits into
python:masterfrom
MarkCBell:patch-1
Jan 9, 2022
Merged

Fix CallableType.formal_arguments docstring#11861
JelleZijlstra merged 2 commits into
python:masterfrom
MarkCBell:patch-1

Conversation

@MarkCBell

Copy link
Copy Markdown
Contributor

Description

PR #11543 changed the CallableType.formal_arguments method to return a list of formal arguments instead of yielding them. However the docstring was not updated at the time to reflect this. This PR correct this docstring.

Test Plan

N/A, only changes a docstring, which isn't tested.

PR python#11543 changed the `formal_arguments` method to return a list of formal arguments instead of yielding them. However the docstring was not updated at the time to reflect this.

@sobolevn sobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thank you.

@JelleZijlstra
JelleZijlstra merged commit 25b2129 into python:master Jan 9, 2022
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
PR python#11543 changed the `formal_arguments` method to return a list of formal arguments instead of yielding them. However the docstring was not updated at the time to reflect this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants