add typing hint on the python side
This commit is contained in:
parent
2abd346059
commit
31faeb2a70
@ -4,10 +4,23 @@
|
|||||||
# All rights reserved
|
# All rights reserved
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
||||||
|
"""
|
||||||
|
from .lib import (get_version_str)
|
||||||
|
|
||||||
|
from .lib import (Sprite_rs,
|
||||||
|
Vector2_rs, Vector3_rs, Vector4_rs,
|
||||||
|
Matrix3_rs, Matrix4_rs)
|
||||||
|
"""
|
||||||
from .lib import *
|
from .lib import *
|
||||||
|
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
|
__version__ = get_version_str()
|
||||||
|
__all__ = ['patch_sprite', 'patch_vector', 'patch_matrix', 'patch_all',
|
||||||
|
'Sprite_rs',
|
||||||
|
'Vector2_rs', 'Vector3_rs', 'Vector4_rs',
|
||||||
|
'Matrix3_rs', 'Matrix4_rs']
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from pyglet.event import EventDispatcher
|
from pyglet.event import EventDispatcher
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user