sdl2.ext.compat - Python Version Compatibility Helpers¶
The sdl2.ext.compat
module provides various helper functions for writing
code that works seamlessly on both Python 2.7 and Python 3.x.
-
ISPYTHON2
¶ True
, if executed in a Python 2.x compatible interpreter,False
otherwise.
-
ISPYTHON3
¶ True
, if executed in a Python 3.x compatible interpreter,False
otherwise.