Searched defs:extract_tb (Results 1 - 5 of 5) sorted by relevance

/external/python/cpython2/Lib/
H A Dtraceback.py7 __all__ = ['extract_stack', 'extract_tb', 'format_exception',
17 """Print the list of tuples as returned by extract_tb() or
30 Given a list of tuples as returned by extract_tb() or
75 """A shorthand for 'format_list(extract_tb(tb, limit))'."""
76 return format_list(extract_tb(tb, limit))
78 def extract_tb(tb, limit = None): function
284 The return value has the same format as for extract_tb(). The
H A Dpydoc.py59 from traceback import extract_tb namespace
336 elif exc is ImportError and extract_tb(tb)[-1][2]=='safeimport':
/external/python/cpython3/Lib/
H A Dtraceback.py8 __all__ = ['extract_stack', 'extract_tb', 'format_exception',
20 """Print the list of tuples as returned by extract_tb() or
30 Given a list of tuples as returned by extract_tb() or
51 print_list(extract_tb(tb, limit=limit), file=file)
54 """A shorthand for 'format_list(extract_tb(tb, limit))'."""
55 return extract_tb(tb, limit=limit).format()
57 def extract_tb(tb, limit=None): function
199 The return value has the same format as for extract_tb(). The
/external/python/cpython2/Lib/test/
H A Dtest_zipimport.py25 from traceback import extract_tb, extract_stack, print_tb namespace
368 f,lno,n,line = extract_tb(tb, 1)[0]
/external/python/cpython3/Lib/test/
H A Dtest_zipimport.py19 from traceback import extract_tb, extract_stack, print_tb namespace
605 f,lno,n,line = extract_tb(tb, 1)[0]

Completed in 207 milliseconds