Skip to content

Conversation

@radarhere
Copy link
Member

No description provided.



def register_handler(handler: ImageFile.StubHandler) -> None:
def register_handler(handler: ImageFile.StubHandler | None) -> None:
Copy link
Member Author

Choose a reason for hiding this comment

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

In the tests, None is passed to this from

WmfImagePlugin.register_handler(original_handler)

@hugovk hugovk merged commit 0a45381 into python-pillow:main Jun 8, 2024
@radarhere radarhere deleted the type_hint branch June 8, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants