KEMBAR78
Fix `CallableType.formal_arguments` docstring by MarkCBell · Pull Request #11861 · python/mypy · GitHub
Skip to content

Conversation

@MarkCBell
Copy link
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.
Copy link
Member

@sobolevn sobolevn left a comment

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