Skip to content

Commit

Permalink
Create dummy PixelAccess stub
Browse files Browse the repository at this point in the history
  • Loading branch information
DMRobertson committed Jan 6, 2023
1 parent b1cb9c8 commit 42c8e23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stubs/Pillow/PIL/_imaging.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ HUFFMAN_ONLY: Literal[2]
RLE: Literal[3]
FIXED: Literal[4]

class PixelAccess:
# As well as the C extension source, this is also documented at
# Pillow's docs/reference/PixelAccess.rst, e.g.
# https://github.com/python-pillow/Pillow/blob/main/docs/reference/PixelAccess.rst
def __getattr__(self, item: str) -> Incomplete: ...

class _Path:
def __getattr__(self, item: str) -> Incomplete: ...

Expand Down

0 comments on commit 42c8e23

Please sign in to comment.