Skip to content

Conversation

abelcheung
Copy link
Contributor

Recent removal of Incomplete (#14029) in HTMLParser.__init__() breaks pyright strict mode, so fill in minimal necessary argument type info as remedy.

Recent removal of Incomplete breaks pyright strict mode

This comment has been minimized.

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

Thanks, and sorry for the delay!

Copy link
Contributor

github-actions bot commented Jul 7, 2025

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit 0ed4f10 into python:main Jul 7, 2025
49 checks passed
@abelcheung abelcheung deleted the html5lib-pyright-fix branch August 8, 2025 18:30
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.

2 participants