@@ -324,7 +324,6 @@ def __inner__(*args: typing.Any, **kwargs: typing.Any) -> typing.Any:
324324 return func
325325
326326class SDL_POINTER :
327- @classmethod
328327 def __class_getitem__ (cls , key : type ) -> type :
329328 """Create a ctypes pointer type from a ctypes type."""
330329
@@ -335,7 +334,6 @@ def __class_getitem__(cls, key: type) -> type:
335334 return ctypes .POINTER (key )
336335
337336class SDL_CAST :
338- @classmethod
339337 def __class_getitem__ (cls , key : tuple [typing .Any , type ]) -> typing .Any :
340338 """Cast a ctypes pointer to an another type."""
341339
@@ -348,7 +346,6 @@ def __class_getitem__(cls, key: tuple[typing.Any, type]) -> typing.Any:
348346 return ctypes .cast (key [0 ], key [1 ])
349347
350348class SDL_TYPE :
351- @classmethod
352349 def __class_getitem__ (cls , key : tuple [str , type ]) -> type :
353350 """Create a new type from a ctypes type."""
354351
@@ -368,7 +365,6 @@ def __class_getitem__(cls, key: tuple[str, type]) -> type:
368365 return type (key [0 ], (ctypes ._SimpleCData , ), {"_type_" : key [1 ]._type_ })
369366
370367class SDL_FUNC_TYPE :
371- @classmethod
372368 def __class_getitem__ (cls , key : tuple [str , type , list [type ]]) -> type :
373369 """Create a new ctypes function type."""
374370
0 commit comments