docs: Add sys.print_exception().
tests: Add test for print_exception() function.