mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-09 23:04:45 +03:00
fix typo in comment
This commit is contained in:
parent
b879ada2a2
commit
0a88b5b338
|
@ -518,7 +518,7 @@ class Image:
|
|||
|
||||
@_size.setter
|
||||
def _size(self, value):
|
||||
# set im.size first in case it raises an excepton
|
||||
# set im.size first in case it raises an exception
|
||||
if self._use_im_values():
|
||||
self.im.size = value
|
||||
self.__size = value
|
||||
|
@ -535,7 +535,7 @@ class Image:
|
|||
|
||||
@_mode.setter
|
||||
def _mode(self, value):
|
||||
# set im.mode first in case it raises an excepton
|
||||
# set im.mode first in case it raises an exception
|
||||
if self._use_im_values():
|
||||
self.im.mode = value
|
||||
self.__mode = value
|
||||
|
|
Loading…
Reference in New Issue
Block a user