Skip to content

Use (0, 0) as placeholder size in stubs - #9872

Open
radarhere wants to merge 1 commit into
python-pillow:mainfrom
radarhere:zero_stub
Open

Use (0, 0) as placeholder size in stubs#9872
radarhere wants to merge 1 commit into
python-pillow:mainfrom
radarhere:zero_stub

Conversation

@radarhere

Copy link
Copy Markdown
Member

Within our stub plugins, we use (1, 1) as a placeholder size.

# make something up
self._mode = "F"
self._size = 1, 1

I think (0, 0) might more clearly indicate that there's nothing here yet.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant