Skip to content

Use consistent arguments for load_read and load_seek#7713

Merged
hugovk merged 2 commits intopython-pillow:mainfrom
radarhere:load
Mar 11, 2024
Merged

Use consistent arguments for load_read and load_seek#7713
hugovk merged 2 commits intopython-pillow:mainfrom
radarhere:load

Conversation

@radarhere
Copy link
Copy Markdown
Member

load_read() does not have a consistent signature across the plugins where it is used. For example,

def load_read(self, read_bytes):

def load_read(self, bytes):

Neither does load_seek(). For example,

def load_seek(self, pos):

def load_seek(self):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants