BoboTiG / python-mss

An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.
https://pypi.org/project/mss/
MIT License
1.04k stars 94 forks source link

Pixels model correction #274

Closed Andon-Li closed 9 months ago

Andon-Li commented 9 months ago

Changes proposed in this PR

ScreenShot.pixels returns a list where each element is a tuple representing a row of pixels. Each of these tuples contain "Pixel"'s. The current model incorrectly hints the return value of ScreenShot.pixels as a list containing "Pixel"s.

It is very important to keep up to date tests and documentation.

Is your code right?

BoboTiG commented 9 months ago

Thank you @Andon-Li 🍾