mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be
giving it a slight facelift
This commit is contained in:
parent
58eadbaf12
commit
40fc16059f
17 changed files with 59 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue