Skip to main content

Module exception_identity

Module exception_identity 

Source

Functionsยง

python_builtin_exception_is_subclass
Whether one exact builtin exception class is a subtype of another builtin exception class. None means either name is outside the known hierarchy.
python_builtin_exception_name
Return the canonical exception class name when name is a builtin exception. Builtin identity itself must be established by the shared lexical identity path.