镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Cleanup: various - #6195

Merged
radarhere merged 19 commits into
python-pillow:mainfrom
hugovk:cleanup
Apr 26, 2022
Merged

radarhere merged 19 commits into
python-pillow:mainfrom
hugovk:cleanup

Conversation

@hugovk

@hugovk hugovk commented Apr 11, 2022

Copy link
Copy Markdown
Member

Various cleanups, see commit messages for details.

6a648c9 should be the only functional change: should these be tuples (comma added) or not (remove parenthesis)?

Comment thread src/PIL/ImageFont.py Resolved
Comment thread src/PIL/ImageTk.py Outdated
:param im: A PIL image. The size must match the target region. If the
mode does not match, the image is converted to the mode of
the bitmap image.
:param box: Deprecated.

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.

I know this was just removed in #6178 to prevent people using it, but I think we should keep it and simply say it is deprecated, partly to prevent a docs warning if nothing else.

Comment thread src/PIL/ImageTk.py Resolved
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Comment thread src/PIL/ImageFont.py Resolved
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Comment thread src/PIL/ImageColor.py Resolved
hugovk and others added 2 commits April 25, 2022 18:13
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
@radarhere
radarhere merged commit bcded33 into python-pillow:main Apr 26, 2022
@hugovk
hugovk deleted the cleanup branch April 26, 2022 09:02
@nulano nulano mentioned this pull request Apr 5, 2023
1 task done
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.

3 participants