Skip to content

Commit dc8c8de

Browse files
committed
Remove sdl3 star import
1 parent 90be096 commit dc8c8de

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
@@ -22,6 +22,8 @@
2222
import json
2323
import re
2424

25+
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
26+
2527
SDL_BINARY, SDL_IMAGE_BINARY, SDL_MIXER_BINARY, SDL_TTF_BINARY, SDL_RTF_BINARY, SDL_NET_BINARY, SDL_SHADERCROSS_BINARY, \
2628
*SDL_MODULES = ["SDL3", "SDL3_image", "SDL3_mixer", "SDL3_ttf", "SDL3_rtf", "SDL3_net", "SDL3_shadercross"] * 2
2729

@@ -715,8 +717,6 @@ def SDL_GET_OR_GENERATE_DOCS(*args: typing.Any, **kwargs: typing.Any) -> bytes:
715717
if i.startswith("c_") and getattr(ctypes, i).__name__ != i and hasattr(getattr(ctypes, i), "_type_"):
716718
setattr(ctypes, i, SDL_TYPE[i, getattr(ctypes, i)])
717719

718-
from sdl3.SDL import * # type: ignore
719-
720720
if __doc_generator__:
721721
import sdl3.SDL as raw # type: ignore
722722

0 commit comments

Comments
 (0)