Files @ 88ca10c9e31a
Branch filter:

Location: light9/stubs/PIL/ImageEnhance.pyi

Drew Perttula
hack up stubs to pass mypy. they're very weak right now
Ignore-this: f4c854346bc206725a1065079d8d158f
# Stubs for PIL.ImageEnhance (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from typing import Any

class _Enhance:
    def enhance(self, factor: Any): ...

class Color(_Enhance):
    image: Any = ...
    intermediate_mode: str = ...
    degenerate: Any = ...
    def __init__(self, image: Any) -> None: ...

class Contrast(_Enhance):
    image: Any = ...
    degenerate: Any = ...
    def __init__(self, image: Any) -> None: ...

class Brightness(_Enhance):
    image: Any = ...
    degenerate: Any = ...
    def __init__(self, image: Any) -> None: ...

class Sharpness(_Enhance):
    image: Any = ...
    degenerate: Any = ...
    def __init__(self, image: Any) -> None: ...