Added type hints by radarhere · Pull Request #8108 · python-pillow/Pillow
Navigation Menu
{{ message }}
python-pillow / Pillow Public
- Notifications You must be signed in to change notification settings
- Fork 2.4k
Merged
hugovk merged 1 commit intopython-pillow:mainfrom
Jun 8, 2024Merged
Added type hints#8108
hugovk merged 1 commit intopython-pillow:mainfrom
Added type hints#8108
hugovk merged 1 commit intopython-pillow:mainfrom
Conversation
radarhere
added
the
Type hints
label
radarhere commented Jun 5, 2024
|
|
||
|
|
||
| def register_handler(handler: ImageFile.StubHandler) -> None: | ||
| def register_handler(handler: ImageFile.StubHandler | None) -> None: |
Copy link Copy Markdown
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
Line 53 in 6dbedc5
| WmfImagePlugin.register_handler(original_handler) |
hugovk
merged commit
0a45381
into
python-pillow:main
radarhere
deleted the
type_hint
branch
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment