merge with 3.3
This commit is contained in:
commit
64bed06036
|
@ -89,7 +89,7 @@ def print_tb(tb, limit=None, file=None):
|
||||||
print_list(extract_tb(tb, limit=limit), file=file)
|
print_list(extract_tb(tb, limit=limit), file=file)
|
||||||
|
|
||||||
def format_tb(tb, limit=None):
|
def format_tb(tb, limit=None):
|
||||||
"""A shorthand for 'format_list(extract_tb(tb, limit))."""
|
"""A shorthand for 'format_list(extract_tb(tb, limit))'."""
|
||||||
return format_list(extract_tb(tb, limit=limit))
|
return format_list(extract_tb(tb, limit=limit))
|
||||||
|
|
||||||
def extract_tb(tb, limit=None):
|
def extract_tb(tb, limit=None):
|
||||||
|
|
Loading…
Reference in New Issue