view stubs/PIL/__init__.pyi @ 1949:88ca10c9e31a

hack up stubs to pass mypy. they're very weak right now Ignore-this: f4c854346bc206725a1065079d8d158f
author Drew Perttula <drewp@bigasterisk.com>
date Thu, 06 Jun 2019 00:06:00 +0000
parents 3b2255e3576d
children
line wrap: on
line source

# Stubs for PIL (Python 3)
#

class Image:
    @classmethod
    def open(cls) -> Image: ...
    @classmethod
    def frombytes(cls, mode, size, data): ...