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