Files @ 88ca10c9e31a
Branch filter:

Location: light9/stubs/PIL/MpegImagePlugin.pyi

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

from PIL import ImageFile
from typing import Any

class BitStream:
    fp: Any = ...
    bits: int = ...
    bitbuffer: int = ...
    def __init__(self, fp: Any) -> None: ...
    def next(self): ...
    def peek(self, bits: Any): ...
    def skip(self, bits: Any) -> None: ...
    def read(self, bits: Any): ...

class MpegImageFile(ImageFile.ImageFile):
    format: str = ...
    format_description: str = ...