Skip to content

Commit bf13d0d

Browse files
committed
Fix API reference.
1 parent 28130ed commit bf13d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdl3/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def SDL_GET_OR_GENERATE_DOCS() -> bytes:
465465

466466
return SDL_GENERATE_DOCS().encode("utf-8")
467467

468-
if __doc_generator__ and int(os.environ.get("SDL_CTYPES_ALIAS_FIX", "0")) > 0:
468+
if int(os.environ.get("SDL_CTYPES_ALIAS_FIX", "0")) > 0:
469469
for i in dir(ctypes):
470470
if i.startswith("c_") and getattr(ctypes, i).__name__ != i and hasattr(getattr(ctypes, i), "_type_"):
471471
setattr(ctypes, i, SDL_TYPE[i, getattr(ctypes, i)])

0 commit comments

Comments
 (0)