[pywin32] Improve win32com by donbarbos · Pull Request #15527 · python/typeshed
Comment on lines +12 to 13
| @type_check_only | ||
| class _DispatchCreateClass(Protocol[_T_co]): |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @brianschubert I didn’t find any occurrences of this name in the source code (via grep), so I thought this case might also be interesting for your stubtest patch.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is covered by an allowlist entry, which is why it hasn't been flagged yet:
| # "dynamic.CDipatch" is necessary for mypy to not throw AssertionError | |
| win32com.client.dynamic.* |
Maybe you can refine that while we're here?
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters