BoboTiG / python-mss

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

Pixels model correction #274

Closed Andon-Li closed 5 months ago

Andon-Li commented 6 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 5 months ago

Thank you @Andon-Li 🍾