Staging: this is not the live site, pydocs.org.
Internet Protocols and Support
Handle an error gracefully. May be overridden.
The default is to print a traceback and continue.
Changed in 3.6
- 3.6: Now only called for exceptions derived from the Exception class.