Skip to content

Commit 556c87c

Browse files
authored
Merge pull request #4577 from radarhere/class
Updated example code to new-style class
2 parents ccd9a97 + b65e72b commit 556c87c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PIL/Image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2325,7 +2325,7 @@ def transform(size, method, data, resample, fill=1):
23252325
It may also be an object with a :py:meth:`~method.getdata` method
23262326
that returns a tuple supplying new **method** and **data** values::
23272327
2328-
class Example(object):
2328+
class Example:
23292329
def getdata(self):
23302330
method = Image.EXTENT
23312331
data = (0, 0, 100, 100)

0 commit comments

Comments
 (0)