@@ -277,7 +277,6 @@ def SDL_NOT_IMPLEMENTED(name: str) -> abc.Callable[..., None]:
277277 SDL_LOGGER .Log (SDL_LOGGER .Error , f"Invoked an unimplemented function: '{ name } '." )
278278
279279class SDL_FUNC :
280- @classmethod
281280 def __class_getitem__ (cls , key : tuple [str , type , list [type ], str ]) -> typing .Any :
282281 """Create a new ctypes function definition."""
283282
@@ -324,7 +323,6 @@ def __inner__(*args: typing.Any, **kwargs: typing.Any) -> typing.Any:
324323 return func
325324
326325class SDL_POINTER :
327- @classmethod
328326 def __class_getitem__ (cls , key : type ) -> type :
329327 """Create a ctypes pointer type from a ctypes type."""
330328
@@ -335,7 +333,6 @@ def __class_getitem__(cls, key: type) -> type:
335333 return ctypes .POINTER (key )
336334
337335class SDL_CAST :
338- @classmethod
339336 def __class_getitem__ (cls , key : tuple [typing .Any , type ]) -> typing .Any :
340337 """Cast a ctypes pointer to an another type."""
341338
@@ -348,7 +345,6 @@ def __class_getitem__(cls, key: tuple[typing.Any, type]) -> typing.Any:
348345 return ctypes .cast (key [0 ], key [1 ])
349346
350347class SDL_TYPE :
351- @classmethod
352348 def __class_getitem__ (cls , key : tuple [str , type ]) -> type :
353349 """Create a new type from a ctypes type."""
354350
@@ -368,7 +364,6 @@ def __class_getitem__(cls, key: tuple[str, type]) -> type:
368364 return type (key [0 ], (ctypes ._SimpleCData , ), {"_type_" : key [1 ]._type_ })
369365
370366class SDL_FUNC_TYPE :
371- @classmethod
372367 def __class_getitem__ (cls , key : tuple [str , type , list [type ]]) -> type :
373368 """Create a new ctypes function type."""
374369
0 commit comments