Files
@ 88ca10c9e31a
Branch filter:
Location: light9/stubs/PIL/ImageShow.pyi - annotation
88ca10c9e31a
1.1 KiB
text/plain
hack up stubs to pass mypy. they're very weak right now
Ignore-this: f4c854346bc206725a1065079d8d158f
Ignore-this: f4c854346bc206725a1065079d8d158f
3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d | # Stubs for PIL.ImageShow (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional
def register(viewer: Any, order: int = ...) -> None: ...
def show(image: Any, title: Optional[Any] = ..., **options: Any): ...
class Viewer:
def show(self, image: Any, **options: Any): ...
format: Any = ...
def get_format(self, image: Any): ...
def get_command(self, file: Any, **options: Any) -> None: ...
def save_image(self, image: Any): ...
def show_image(self, image: Any, **options: Any): ...
def show_file(self, file: Any, **options: Any): ...
class WindowsViewer(Viewer):
format: str = ...
def get_command(self, file: Any, **options: Any): ...
class MacViewer(Viewer):
format: str = ...
def get_command(self, file: Any, **options: Any): ...
def which(executable: Any): ...
class UnixViewer(Viewer):
def show_file(self, file: Any, **options: Any): ...
class DisplayViewer(UnixViewer):
def get_command_ex(self, file: Any, **options: Any): ...
class XVViewer(UnixViewer):
def get_command_ex(self, file: Any, title: Optional[Any] = ..., **options: Any): ...
|