mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-03 11:35:52 +03:00
Added release notes for #5942
This commit is contained in:
parent
f797137ab5
commit
912296200c
|
@ -26,7 +26,7 @@ Changelog (Pillow)
|
|||
- Ensure duplicated file pointer is closed #5946
|
||||
[radarhere]
|
||||
|
||||
- Added specific error if ImagePath coordinate type is incorrect #5942
|
||||
- Added specific error if path coordinate type is incorrect #5942
|
||||
[radarhere]
|
||||
|
||||
- Return an empty bytestring from tobytes() for an empty image #5938
|
||||
|
|
|
@ -11,6 +11,13 @@ Performing a negative crop on an image previously just returned a `(0, 0)` image
|
|||
it will raise a `ValueError`, to help reduce confusion if a user has unintentionally
|
||||
provided the wrong arguments.
|
||||
|
||||
Added specific error if path coordinate type is incorrect
|
||||
---------------------------------------------------------
|
||||
|
||||
Rather than returning a `SystemError`, passing the incorrect types of coordinates into
|
||||
a path will now raise a more specific `ValueError`, with the message "incorrect
|
||||
coordinate type".
|
||||
|
||||
API Additions
|
||||
=============
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user