Skip to content

Commit 6654c23

Browse files
committed
Remove sdl3 star import
1 parent 1260945 commit 6654c23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdl3/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
import json
2020
import re
2121

22+
from sdl3.SDL import SDL_VERSIONNUM_MAJOR, SDL_VERSIONNUM_MINOR, SDL_VERSIONNUM_MICRO, SDL_GetVersion, IMG_Version, Mix_Version, TTF_Version, RTF_Version, NET_GetVersion, SDL_VERSION, SDL_IMAGE_VERSION, SDL_MIXER_VERSION, SDL_TTF_VERSION, SDL_RTF_VERSION, SDL_NET_VERSION
23+
2224
SDL_BINARY, SDL_IMAGE_BINARY, SDL_MIXER_BINARY, SDL_TTF_BINARY, SDL_RTF_BINARY, SDL_NET_BINARY, SDL_SHADERCROSS_BINARY, \
2325
*SDL_MODULES = ["SDL3", "SDL3_image", "SDL3_mixer", "SDL3_ttf", "SDL3_rtf", "SDL3_net", "SDL3_shadercross"] * 2
2426

@@ -712,8 +714,6 @@ def SDL_GET_OR_GENERATE_DOCS(*args: typing.Any, **kwargs: typing.Any) -> bytes:
712714
if i.startswith("c_") and getattr(ctypes, i).__name__ != i and hasattr(getattr(ctypes, i), "_type_"):
713715
setattr(ctypes, i, SDL_TYPE[i, getattr(ctypes, i)])
714716

715-
from sdl3.SDL import * # type: ignore
716-
717717
if __doc_generator__:
718718
import sdl3.SDL as raw # type: ignore
719719

0 commit comments

Comments
 (0)