exception documentation

class PlatformError(Exception): (source)

View In Hierarchy

Raised when an illegal operation occurs for the current platform. E.g. Windows users trying to use functionality requiring the ``pty`` module. Typically used to present a clearer error message to the user. .. versionadded:: 1.0