Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup: various #6195

Merged
merged 19 commits into from
Apr 26, 2022
Merged

Cleanup: various #6195

merged 19 commits into from
Apr 26, 2022

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Apr 11, 2022

Various cleanups, see commit messages for details.

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

src/PIL/ImageFont.py Outdated Show resolved Hide resolved
@@ -184,6 +184,7 @@ def paste(self, im, box=None):
: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
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.

src/PIL/ImageTk.py Outdated Show resolved Hide resolved
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
src/PIL/ImageFont.py Outdated Show resolved Hide resolved
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
src/PIL/ImageColor.py Outdated Show resolved Hide 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
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.

None yet

3 participants