Skip to content

Commit

Permalink
re
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jun 15, 2024
1 parent be98b71 commit 388470a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/Image.py
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ def frombytes(self, data: bytes, decoder_name: str = "raw", *args) -> None:
msg = "cannot decode image data"
raise ValueError(msg)

def load(self) -> PyAccess.PyAccess | None:
def load(self) -> core.PixelAccess | PyAccess.PyAccess | None:
"""
Allocates storage for the image and loads the pixel data. In
normal cases, you don't need to call this method, since the
Expand Down

0 comments on commit 388470a

Please sign in to comment.