summaryrefslogtreecommitdiffstats
path: root/Lib/traceback.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2001-03-01 04:27:19 (GMT)
committerSkip Montanaro <skip@pobox.com>2001-03-01 04:27:19 (GMT)
commit40fc16059f04ee8fda0b5956cc4883eb21ca8f8c (patch)
treeecfe045bbbf07071e1004fa2fac72c6f1c03633f /Lib/traceback.py
parent58eadbaf1289f8671e435fb3a00e9e0351abbc16 (diff)
downloadcpython-40fc16059f04ee8fda0b5956cc4883eb21ca8f8c.zip
cpython-40fc16059f04ee8fda0b5956cc4883eb21ca8f8c.tar.gz
cpython-40fc16059f04ee8fda0b5956cc4883eb21ca8f8c.tar.bz2
final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be
giving it a slight facelift
Diffstat (limited to 'Lib/traceback.py')
-rw-r--r--Lib/traceback.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/traceback.py b/Lib/traceback.py
index b4fe050..89ecb61 100644
--- a/Lib/traceback.py
+++ b/Lib/traceback.py
@@ -4,6 +4,11 @@ import linecache
import sys
import types
+__all__ = ['extract_stack', 'extract_tb', 'format_exception',
+ 'format_exception_only', 'format_list', 'format_stack',
+ 'format_tb', 'print_exc', 'print_exception', 'print_last',
+ 'print_stack', 'print_tb', 'tb_lineno']
+
def _print(file, str='', terminator='\n'):
file.write(str+terminator)