File: __init__.pyi

package info (click to toggle)
game-data-packager 87
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 33,392 kB
  • sloc: python: 15,387; sh: 704; ansic: 95; makefile: 50
file content (17 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright 2023 Alexandre Detiste
# SPDX-License-Identifier: FSFAP

# this goes in /usr/lib/python3/dist-packages/omg/__init__.pyi
# + touch /usr/lib/python3/dist-packages/omg/py.typed

from PIL.Image import Image

class Graphic:

    def to_Image(self) -> Image: ...

class WAD:

    graphics: dict[str, Graphic]

    def __init__(self, from_file:str): ...