Skip to content

Commit 810d824

Browse files
committed
Updated return type
1 parent a0a1ff1 commit 810d824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PIL/Image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2600,7 +2600,7 @@ def save(
26002600
if open_fp:
26012601
fp.close()
26022602

2603-
def _attach_default_encoderinfo(self, im: Image) -> Any:
2603+
def _attach_default_encoderinfo(self, im: Image) -> dict[str, Any]:
26042604
encoderinfo = getattr(self, "encoderinfo", {})
26052605
self.encoderinfo = {**im._default_encoderinfo, **encoderinfo}
26062606
return encoderinfo

0 commit comments

Comments
 (0)