cpython
cpython copied to clipboard
gh-92119: Print exception class name instead of its representation
This PR updates the exception messages raised from ctypes calls to print the exception class name instead of its string representation. Also, it removes obsolete exceptions. prefixes from documentation examples.
Closes https://github.com/python/cpython/issues/92119.
- Issue: gh-92119