]> granicus.if.org Git - python/commit
PyErr_Print(): When printing a class exception, try to dig out the
authorBarry Warsaw <barry@python.org>
Tue, 16 Sep 1997 21:42:03 +0000 (21:42 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 16 Sep 1997 21:42:03 +0000 (21:42 +0000)
commit2f5f6a2595d4796fea3aecc8e2ed8b800033ecca
treec58533257f016f2da78d0fe38cfce177bbc9b307
parentb81b5c72db472f129821312282c248e272732046
PyErr_Print(): When printing a class exception, try to dig out the
__module__ string and if found, print <module>.<class>, unless
<module> == "exceptions".
Python/pythonrun.c