stubtest: Private parameters can be omitted#16507
stubtest: Private parameters can be omitted#16507JelleZijlstra merged 12 commits intopython:masterfrom
Conversation
for more information, see https://pre-commit.ci
|
As opposed to what I suggested in the issue, I implemented it so the parameter name can start with at least one underscore. It doesn't require exactly one. I wouldn't be surprised if some people start their private parameter names with a double underscore. |
Hmm, until we dropped support for Python 3.7,
I think I preferred what was suggested in the issue: other packages might do similarly, and might not have updated their parameter names even if they've since dropped support for Python 3.7. |
|
That's a good point. I'll update the PR. |
|
Can I bump this PR? It seems there are no further objections. |
Fixes #16443