src_py/version.py露

Header file: src_c/include/pygame.h

Version information can be retrieved at compile-time using these macros.

New in pygame 1.9.5.

PG_MAJOR_VERSION露
PG_MINOR_VERSION露
PG_PATCH_VERSION露
PG_VERSIONNUM(MAJOR, MINOR, PATCH)露

Returns an integer representing the given version.

PG_VERSION_ATLEAST(MAJOR, MINOR, PATCH)露

Returns true if the current version is at least equal to the specified version.




Edit on GitHub