This is the core documentation of the various modules, classes and functions, pygame2 offers. If you want a quick module overview, use the Module Index. If you just want to look up a specific class, attribute method or function, use the Index or Search Page.
Note
Whenever the API documentation refers to file-like objects, those must support binary read and write access. This is especially important for Python 3.x users and the new io module.